Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to capture an image with web cam open cv

cam = cv2.VideoCapture(0)

image = cam.read()[1]

cv2.imshow("image", image)

cv2.waitKey(0)
cv2.destroyAllWindows()
 
PREVIOUS NEXT
Tagged: #capture #image #web #cam #open #cv
ADD COMMENT
Topic
Name
6+2 =