Advertisement
Guest User

Untitled

a guest
Apr 18th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. cv2.waitKey(0)
  2.  
  3. image = cv2.imread("lenna.png", 1)
  4.  
  5. for i in range (200,210):
  6. for j in range(10,200):
  7. image[i, j] = [0, 0, 255]
  8.  
  9. cv2.imshow("janela", image)
  10. cv2.waitKey(0)
  11. cv2.destroyAllWindows()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement