You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ret, frame = vidStream.read() # read frame and return code.
cv2.imshow("test window", frame) # show image in window
cv2.imwrite("Give path here/train-images/0/image%04i.jpg" %cpt, frame) #Give path to train-images/0/ and keep image%04i.jpg as it is in this line. Your images will be stored at train-images/0/ folder