Skip to content

Commit

Permalink
全白
Browse files Browse the repository at this point in the history
  • Loading branch information
makelove committed Mar 28, 2018
1 parent da748df commit 04b5028
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
size = (2560, 1600)
# 全黑.可以用在屏保
black = np.zeros(size)
print(black[34][56])
cv2.imwrite('black.jpg',black)

#white
#white 全白
black[:]=255
print(black[34][56])
cv2.imwrite('white.jpg',black)

0 comments on commit 04b5028

Please sign in to comment.