Answers for "how to check if the camera is working python script"

2

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()
Posted by: Guest on December-12-2020

Code answers related to "how to check if the camera is working python script"

Python Answers by Framework

Browse Popular Code Answers by Language