arunponnusamy/cvlib

I Don't have the desired modules

Closed this issue · 4 comments

screenshot 53

check out the picture for error.

Thanks in advance !

Hello @ajaykaarthic , I see that you are working on Windows. Apologies. I have not tested the library extensively on Windows. If possible try it on linux. If not, I will share a temporary solution to fix this issue on Windows.

I have packaged the caffemodel and prototext file inside the python package, which are needed for applying face detection. The issue here is, on Windows, the library is searching for the file at a wrong location. As you can see the error message Can't open C:\data\deploy.prototxt. But the file is not there.

Now, a hack is, we can download the files manually and place it under data folder in C drive. Download prototxt and caffemodel file from the links and create a folder nameddata in C drive and put the files inside. Now it should work.

Well, this is a temporary hack. I will fix this issue in the next release. Let me know if this worked. Also checkout this notebook on Google Colab.

Cheers.

Hello @ajaykaarthic , 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.

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