smahesh29 / Gender-and-Age-Detection

A Python project which can detect gender and age using OpenCV of the person (face) in a picture or through webcam.
MIT License
468 stars 201 forks source link

Version of OpenCV & Python #12

Open adyanathany opened 1 year ago

adyanathany commented 1 year ago

Which version has been used of OpenCV and Python, since I think the version is why I am getting an error: cv2.error: OpenCV(4.7.0) /Users/xperience/GHA-OCV-Python/_work/opencv-python/opencv-python/opencv/modules/dnn/src/caffe/caffe_io.cpp:1138: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "opencv_face_detector_uint8.pb" in function 'ReadProtoFromBinaryFile'

mahimairaja commented 1 year ago

python version - Python 3.9.12

numpy==1.25.0 opencv-python==4.8.0.74

Hope this should resolve the issue.

ghost commented 1 year ago

Issue is resolved or not

mwlik commented 2 months ago

Nah the issue is still persistent, at least for me.