Comments (10)
Check if the path is right ? maybe try the absolute path.
from maskdetection.
How do I do that? Could you help me please?? I'm not very familiar with C++ side of things...
from maskdetection.
Maybe the path "../test/../thirdpart/lib/caffe/libcaffe.so" is not right.
from maskdetection.
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.
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.
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.
@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.
Thanks! now it works
from maskdetection.
@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.
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)
- how to compile for cpu? CMake Error at /usr/share/cmake-3.10/Modules/FindCUDA.cmake:682 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): lib/CMakeLists.txt:4 (find_package) HOT 9
- Importing trained model directly using python opencv HOT 1
- This can support opencv directly infer ?
- Not able to biuld in google clab "/content/drive/My Drive/Colab Notebooks/ai/mask_detection/maskdetection/lib/include/FaceMaskDetector.hpp:9:10: fatal error: caffe/caffe.hpp: No such file or directory #include "caffe/caffe.hpp" compilation terminated." HOT 2
- Problem after converting from caffe to keras in number of layers HOT 1
- link to opencv fails HOT 4
- CopyTrainedLayersFrom undefined reference HOT 1
- Compilation on Windows 10 64 Bits HOT 1
- Dataset HOT 2
- Mask recognize
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maskdetection.