Giter Club home page Giter Club logo

Comments (10)

2016110071 avatar 2016110071 commented on September 21, 2024

Check if the path is right ? maybe try the absolute path.

from maskdetection.

KillSwitch29 avatar KillSwitch29 commented on September 21, 2024

How do I do that? Could you help me please?? I'm not very familiar with C++ side of things...

from maskdetection.

2016110071 avatar 2016110071 commented on September 21, 2024

Maybe the path "../test/../thirdpart/lib/caffe/libcaffe.so" is not right.

from maskdetection.

hypadr1v3 avatar hypadr1v3 commented on September 21, 2024

I also had the same problem building this. I fixed it by going into the test folder and opening the CMakeLists.txt. Basically you are expected to keep all your libraries in a file called thirdpart(thirdparty?). I did not do this and instead i just found all the directories for the libraries and replaced them with my locations. This made the make succeed although i don't get how to use the shared library file that is generated.

from maskdetection.

KillSwitch29 avatar KillSwitch29 commented on September 21, 2024

Guys sorry for the late update! Thanks for your comments I managed to solve the issues and create the executable. The Readme needs a little fixing to mention to whoever is trying that they need to enter the correct path to files libcaffe.so mentioned by @2016110071 . that should do the trick. otherwise this code works. I'm still trying to figure ways to improve this code. Thanks to everyone on the @didi team @710leo @MingliangT @MicroConan @caohe @wbtiger code! If anyone need help let me know on this thread I could help

from maskdetection.

hypadr1v3 avatar hypadr1v3 commented on September 21, 2024

Ok so now you can close it and I did mention all of this in my comment above and how is the code supposed to run on? (what program/compiler is needed to run this as I too am not familiar with C++)

from maskdetection.

KillSwitch29 avatar KillSwitch29 commented on September 21, 2024

@hypadr1v3 once you have created the executable it will be available in the build/bin folder. if you are using Linux navigate the terminal to this directory and then type ls you will find the executable
now type ./"name of the executable" "and type the directory of the picture to be identified" hit enter it should give you an appropriate output. same procedure for in windows with PowerShell.

I'm gonna leave this open till you get it running! :)

from maskdetection.

hypadr1v3 avatar hypadr1v3 commented on September 21, 2024

Thanks! now it works

from maskdetection.

abhianand7 avatar abhianand7 commented on September 21, 2024

@hypadr1v3 hey I am having trouble building this library. cmake runs fine but I have not been able to get the make command to work.
can you please share especially how you linked to all the required libraries?
do I need to build all of the requirements from the source?

Any help would be really great.

from maskdetection.

hypadr1v3 avatar hypadr1v3 commented on September 21, 2024

It would be helpful if you share your exact error when compiling the code. I had all of the requirements already installed either from binaries or from source. I use Ubuntu so I ran the grep command to find that certain requirement in my system(I had followed installation instructions of all of these packages from their respective manuals) and I added those into the CMakeLists.txt file instead of the directories they had made.

from maskdetection.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.