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

Script cannot find file #1

Open
syproduction opened this issue May 7, 2024 · 1 comment
Open

Script cannot find file #1

syproduction opened this issue May 7, 2024 · 1 comment

Comments

@syproduction
Copy link

python real_time_age_detection.py --face face_detector --age age_detector
Traceback (most recent call last):
  File "/Users/user/dev/age-detection-python-opencv/real_time_age_detection.py", line 78, in <module>
    faceNet = cv2.dnn.readNet(prototxtpath, weightsPath)
cv2.error: OpenCV(4.8.0) /Users/xperience/GHA-OpenCV-Python/_work/opencv-python/opencv-python/opencv/modules/dnn/src/caffe/caffe_io.cpp:1126: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "face_detector/deploy.prototxt" in function 'ReadProtoFromTextFile'

I guess there is no face_detector folder at all.

@om-baji
Copy link

om-baji commented Aug 5, 2024

Any updates on this issue? i am facing the same

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

2 participants