- ncnn
下载ncnn源码
Releases · Tencent/ncnn · GitHub

编译ncnn
打开mingw自带的终端
生成CMakeFiles
cmake .. -G "MinGW Makefiles" ^
-DCMAKE_BUILD_TYPE=Release ^
-DNCNN_VULKAN=OFF ^
-DNCNN_BUILD_EXAMPLES=OFF ^
-DNCNN_BUILD_TESTS=OFF ^
-DNCNN_BUILD_TOOLS=ON ^
-DNCNN_OPENMP=ON ^
-DNCNN_AVX512=OFF ^
-DCMAKE_CXX_FLAGS="
-D_WIN32_WINNT=0x0601" ^
-DCMAKE_C_FLAGS="-D_WIN32_WINNT=0x0601"
运行CMakeFiles
mingw32-make -j4
- 下载模型文件
RetinaFace(mnet.25 已转好 ncnn)
模型仓库:https://github.com/nihui/ncnn-assets/tree/master/models
- mnet.25-opt.param: https://raw.githubusercontent.com/nihui/ncnn-assets/master/models/mnet.25-opt.param
- mnet.25-opt.bin: https://raw.githubusercontent.com/nihui/ncnn-assets/master/models/mnet.25-opt.bin
MobileFaceNet(ArcFace 轻量,ncnn param/bin)
仓库:GitHub - yeung908/mobileFacenet-ncnn: implementation of nccnn's mobileFacenet · GitHub
直链: https://raw.githubusercontent.com/yeung908/mobileFacenet-ncnn/master/mobilefacenet.param https://raw.githubusercontent.com/yeung908/mobileFacenet-ncnn/master/mobilefacenet.bin