Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: OpenCV(4.2.0) #5

Open
purushothdev opened this issue Dec 22, 2020 · 5 comments
Open

Error: OpenCV(4.2.0) #5

purushothdev opened this issue Dec 22, 2020 · 5 comments

Comments

@purushothdev
Copy link

Having the same issue !!!..

error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "face_detector\ deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'

But even don't know how to rectify it...

@nidadinch
Copy link

Use your own path for deploy.prototxt in detect_mask_video.py

@Ritvik-Sapra
Copy link

Use correct and absolute path to the file. Can be found by looking at the file's property tab.

@Dark-Programm
Copy link

Dark-Programm commented May 28, 2021

The backward slashes () just replace them with forward slashes (/).

Use the file path relative to current file.
...
It worked for me.

@rafiindriawan
Copy link

how to solve it?

@droy76
Copy link

droy76 commented Jan 6, 2022

i try to follow nidadinch and Ritvik-Sapra comments above, and it works for me, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants