-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lots of undefined errors while building #1
Comments
Somehow, during linking, OpenCV isn't called. That gives you all these errors, all started with cv::. Compare our building line with yours, and you will see the difference right away. Many references to OpenCV which are missing in your build.
|
Solved after reinstalling opencv. The accuracy is somewhat low on webcam though. My opencv version is 3.3.1, is it hampering the accuracy ? Also Im getting around 12 fps on my Jetson Nano. Also what are the benefits of compiling opencv with cuda support ? Does it speed up processing or what ? |
Accuracy is a known problem for face-mask detection. Think of people with black beards, wearing masks with a print etc. The original network was trained with Chinese people wearing (mostly) simple white/blue masks. Your OpenCV version does not influence the detection accuracy. This is only determined by the Paddle network. OpenCV uses Cuda in several ways. In addition to the 'normal' CPU declaration, many routines also have a Cuda declaration that starts with cv::cuda::. For instance cv::cuda::HoughCirclesDetection. See OpenCV cuda for a overview. Once code properly it accelerates the application. Cuda support is also widely used in the OpenCV deep learning framework. |
Hi,
Im getting lots of undefined errors while building this :-
g++ -Wall -fexceptions -pthread -O3 -I/usr/include/opencv4 -I/usr/local/include/paddle-lite -I/usr/local/include/ncnn -c /home/ns/Face-Mask-Detection-Jetson-Nano/mask_ultra.cpp -o obj/Release/mask_ultra.o
...........
The text was updated successfully, but these errors were encountered: