Skip to content

Script cannot find file #1

Open
@syproduction

Description

@syproduction
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions