Ubuntu 基于 Ncnn 编译 Mtcnn 。
1 | g++ -o final.so -std=c++11 -shared -fPIC main.cpp mtcnn.cpp mobilefacenet.cpp ../build/src/libncnn.a -I ../src -I ../build/src -I /usr/local/Cellar/opencv@3/3.4.5/include -L /usr/local/Cellar/opencv@3/3.4.5/lib -lopencv_shape -lopencv_stitching -lopencv_objdetect -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_video -lopencv_photo -lopencv_ml -lopencv_imgproc -lopencv_flann -lopencv_core |