Camera not working or opening in Opencv python SOLVED

preview_player
Показать описание
How to solve camera or webcam not working and opening in opencv python is showed
Рекомендации по теме
Комментарии
Автор

this didnt work for me in win 11. It shows enabled in device manager. Disabled antivirus, still. Then i found the problem to be in settings-> privacy and security->camera->let desktop apps to access camera toggled off. Turning it on fixed it

TheTomtz
Автор

Bro I been serching this for over a month, thank you very mucho you save my life 🎉

braulioleonofarrill
Автор

It worked for i kept the value at 1 but after changing it to the 0 it started working fine

surajdevv
Автор

hello
gray_image1=cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.7.0) error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

can you help me ?

benbenameur
Автор

i enabled camera but still not working how can i slove it

karankarthick
Автор

My camera doesnt me give the option to "enable it"

emiliorivas
Автор

I have a web cam which is connected externally when i run the code the cam is detected but not capture any images it waits for 5 to 10 secs then shows error ret=False but cap.isOpened()==True in this case what should i do ?

newupdates
Автор

Still webcam is not working it is giving me orange blank screen

manjusrees.v.
welcome to shbcf.ru