公司动态
OpenCV ncnn 人脸识别(一)
1. ncnn下载ncnn源码Releases · Tencent/ncnn · GitHub编译ncnn打开mingw自带的终端rd /s /q build mkdir build cd build cmake .. -G MinGW Makefiles ^ -DCMAKE_BUILD_TYPERelease ^ -DNCNN_VULKANOFF ^ -DNCNN_BUILD_EXAMPLESOFF ^ -DNCNN_BUILD_TESTSOFF ^ -DNCNN_BUILD_TOOLSON ^ -DNCNN_OPENMPON ^ -DNCNN_AVX512OFF ^ -DNCNN_WIN32_PTHREADON ^ -DCMAKE_CXX_FLAGS-D_WIN32_WINNT0x0601 -DWINVER0x0601 -DNTDDI_VERSIONNTDDI_WIN7 ^ -DCMAKE_C_FLAGS-D_WIN32_WINNT0x0601 -DWINVER0x0601 -DNTDDI_VERSIONNTDDI_WIN7 mingw32-make -j4 mingw32-make install2. 下载模型文件RetinaFacemnet.25 已转好 ncnn模型仓库https://github.com/nihui/ncnn-assets/tree/master/modelsmnet.25-opt.param https://raw.githubusercontent.com/nihui/ncnn-assets/master/models/mnet.25-opt.parammnet.25-opt.bin https://raw.githubusercontent.com/nihui/ncnn-assets/master/models/mnet.25-opt.binMobileFaceNetArcFace 轻量ncnn param/bin仓库GitHub - yeung908/mobileFacenet-ncnn: implementation of nccnns mobileFacenet · GitHub直链mobilefacenet.param https://raw.githubusercontent.com/yeung908/mobileFacenet-ncnn/master/mobilefacenet.parammobilefacenet.bin https://raw.githubusercontent.com/yeung908/mobileFacenet-ncnn/master/mobilefacenet.bin