arunponnusamy / gender-detection-keras

Gender detection (from scratch) using deep learning with keras and cvlib.
http://arunponnusamy.com
MIT License
184 stars 68 forks source link

cv.face_detect isn't working #1

Closed varshith321 closed 6 years ago

varshith321 commented 6 years ago

cv.face_detect is not working in windows as well as in linux. Error: module 'cv2' has no attribute 'dnn'

arunponnusamy commented 6 years ago

Hello @varshith321 , May I know how did you install OpenCV Python bindings ? Did you use pip install opencv-python ?

It should work fine on linux. I just tested it. Have a look at this notebook on Google Colab.

arunponnusamy commented 6 years ago

Hello @varshith321 , I have fixed the issue in the latest release. Get the latest version using pip install --upgrade cvlib Now it should work fine. Let me know if you face any issues. Have fun detecting faces with cvlib. Cheers.

arunponnusamy commented 6 years ago

I am closing this issue. Feel free to reopen if the issue still persists.