check if camera is being used python
cap = cv2.VideoCapture(0)
# the variable before frame is True if the camera is useable
useable, frame = cap.read()
Are there any code examples left?
New code examples in category Python
cap = cv2.VideoCapture(0)
# the variable before frame is True if the camera is useable
useable, frame = cap.read()