Error in using python open cv to initialize the camera in a face recognition task
import cv2
camera = cv2.VideoCapture(1)
camera.grab()
ret, frame = camera.retrieve()
cv2.namedWindow('frame')
.
OpenCV: out device of bound (0-0): 1
OpenCV: camera failed to properly initialize!
0. Did you try other numbers ?