arunponnusamy / cvlib

A simple, high level, easy to use, open source Computer Vision library for Python.
http://arunponnusamy.com/cvlib/
MIT License
653 stars 126 forks source link

I Don't have the desired modules #1

Closed ajaykaarthic closed 5 years ago

ajaykaarthic commented 5 years ago

screenshot 53

check out the picture for error.

Thanks in advance !

arunponnusamy commented 5 years ago

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.

arunponnusamy commented 5 years ago

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.

arunponnusamy commented 5 years ago

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

ajaykaarthic commented 5 years ago

Hey, Sure ! I am sorry that i didn't respond.

On Tue, 9 Oct 2018 at 22:22, Arun Ponnusamy notifications@github.com wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arunponnusamy/cvlib/issues/1#issuecomment-428267895, or mute the thread https://github.com/notifications/unsubscribe-auth/AgbAFJ52dJSepusO40BwcZ7b0kA86An8ks5ujNRUgaJpZM4WnYg8 .