Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
 
PREVIOUS NEXT
Tagged: #check #camera #python
ADD COMMENT
Topic
Name
4+1 =