Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. camera = cv2.VideoCapture(0)
  2. menu()
  3. absolut = True
  4.  
  5. while True:
  6. return_value, image = camera.read()
  7. gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
  8. imageFloat32 = np.array(gray_image, dtype=np.float32)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement