Some information on my configuration :
**windows 10**
**python 3.7.3**
**openCV 4.1.0** (get with the command : cv2.__version__)
My problem is that the following code **return me False all time**, so i think that the program can't find my integrated camera( i have a laptop). But i don't know, so the problem may come from everywhere...
import cv2
cap = cv2.VideoCapture(0)
print( cap.isOpened() )
I think that i have a good installation of opencv and python because i can open a video with the following code :
cv2.VideoCapture('video.avi')
So i don't know how to solve my problem, thanks for help and sorry for my english.
↧