Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- camera = cv2.VideoCapture(0)
- menu()
- absolut = True
- while True:
- return_value, image = camera.read()
- gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
- imageFloat32 = np.array(gray_image, dtype=np.float32)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement