Code Monkey home page Code Monkey logo

face-detection-mtcnn-ncnn's People

Contributors

kkken1027 avatar rocking5566 avatar sunhm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

face-detection-mtcnn-ncnn's Issues

error: binding ‘const cv::Mat’ to reference of type ‘cv::Mat&’ discards qualifiers

What is the fps if running on pi3 b I need this tow work on pi3 with 15 fps
this is the error i am getting when running sh build_ubuntu.sh

Projects/mtcnn_pi/face-detection-MTCNN-ncnn/main.cpp: In function ‘void PlotDetectionResult(const cv::Mat&, const std::vector<SMtcnnFace>&)’:
Projects/mtcnn_pi/face-detection-MTCNN-ncnn/main.cpp:17:86: error: binding ‘const cv::Mat’ to reference of type ‘cv::Mat&’ discards qualifiers
     Point(it->boundingBox[2], it->boundingBox[3]), Scalar(0, 0, 255), 2, 8, 0);
                                                                              ^
In file included from Projects/mtcnn_pi/face-detection-MTCNN-ncnn/main.cpp:3:0:
/usr/include/opencv2/core/core.hpp:2594:19: note:   initializing argument 1 of ‘void cv::rectangle(cv::Mat&, cv::Point, cv::Point, const Scalar&, int, int, int)’
 CV_EXPORTS_W void rectangle(CV_IN_OUT Mat& img, Point pt1, Point pt2,
                   ^
Projects/mtcnn_pi/face-detection-MTCNN-ncnn/main.cpp:22:102: error: binding ‘const cv::Mat’ to reference of type ‘cv::Mat&’ discards qualifiers
 , Point(it->landmark[num], it->landmark[num + 5]), 3, Scalar(0, 255, 255), -1);
                                                                              ^
In file included from Projects/mtcnn_pi/face-detection-MTCNN-ncnn/main.cpp:3:0:
/usr/include/opencv2/core/core.hpp:2604:19: note:   initializing argument 1 of ‘void cv::circle(cv::Mat&, cv::Point, int, const Scalar&, int, int, int)’
 CV_EXPORTS_W void circle(CV_IN_OUT Mat& img, Point center, int radius,
                   ^
CMakeFiles/mtcnn.dir/build.make:62: recipe for target 'CMakeFiles/mtcnn.dir/main.o' failed
make[2]: *** [CMakeFiles/mtcnn.dir/main.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mtcnn.dir/all' failed
make[1]: *** [CMakeFiles/mtcnn.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

It returns nothing after updating the ncnn

Dear @rocking5566
thanks for your great library but there's a problem that makes us unable to run the project correctly.
actually it returns nothing when I change the main.cpp code to read the frame from disk with imread function.
please check the repository and help me to run the project.

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.