Seetaface 01 Seetaface win10 vs2015编译(cmake自动配置,可选mfc界面)
2017-10-01 00:22
841 查看
01 环境
win10x64vs2015 update3(其他vs2010以上应该都可以)
cmake3.7.2
git
opencv3.3.0,参考http://blog.csdn.net/longji/article/details/77885076
源码:https://github.com/5455945/SeetaFaceEngine.git
02 源码下载
cd D:\git\DeepLearning git clone https://github.com/5455945/SeetaFaceEngine.git cd SeetaFaceEngine
03 获取opencv3.3.0版本
参考:http://blog.csdn.net/longji/article/details/7788507604 配置cmake-gui
源码路径:D:/git/DeepLearning/SeetaFaceEngine 目标路径:D:/git/DeepLearning/SeetaFaceEngine/build/x64 点击[Configure]后,设置OpenCV_DIR=C:/Program Files/OpenCV 3.3.0-dirty 设置好OpenCV_DIR后,点击[Generate],完成后,点击[Open Project]打开vs2015
05 编译
05.01 人脸检测test_face_detection
vs2015打开D:\git\DeepLearning\SeetaFaceEngine\build\x64\Project.sln后,直接build debug版本后,F5。默认运行test_face_detection人脸检测工程。
或者设置test_face_detection工程为启动项。
05.02 人脸对齐test_face_alignment
设置test_face_alignment工程为启动项。设置适当的断点。运行后,生成D:\git\DeepLearning\SeetaFaceEngine\build\x64\bin\Debug\test_face_alignment.jpg
05.03 人脸识别测试test_face_recognizer
Test successful! Average crop face time: 13.74ms Test successful! Average extract feature time: 167.22ms Test successful! Average extract feature time: 178.52ms
05.04 人脸识别相似度test_face_verification
相似度:0.691146 生成对齐图片: D:\git\DeepLearning\SeetaFaceEngine\build\x64\bin\Debug\gallery_point_result.jpg D:\git\DeepLearning\SeetaFaceEngine\build\x64\bin\Debug\probe_point_result.jpg
06 MFC demo
参考:http://blog.csdn.net/wuzuyu365/article/details/52574365集成进来一个MFC 相似度对比的demo。
cmake的时候,可以勾选SFMFCTEST复选框,默认勾选状态。
测试效果如下:
相关文章推荐
- win10下使用CMake编译OpenCV2.4(配置VS2015之前)
- caffe搭建--caffe- win10 vs2015 编译(支持GPU)--注意在cmake的时候需要根据情况仔细修改配置
- ITK4.11.1编译配置+VS2015+Cmake3.8.1
- WIN10 + OpenCV3.4 + CUDA8.0 + Cmake3.9.0 + TBB + VS2015配置/重编译
- VS2015--win32工程配置的一些想法之cmake
- Win10 下Cmake编译配置 Opencv3.1 + Cuda7.5 + VS2013
- Mac下 vscode c/c++ 自动编译配置
- VS2015 编译环境下CUDA安装配置
- Visual Studio 2015一分钟配置opencv及CMake编译OpenCV3.1(含opencv-contrib)
- openCV2.4.13+VS2015+Cmake开发环境配置,解决nonfree问题
- opencv3.2在vs2015开发环境搭建+cmake3.8编译生成opencv x86版本库
- 关于windows下用cmake编译VS2015找不到Boost库的解决办法
- cmake编译opencv3:opencv3.3.1+contrib+cuda8.0+vs2013(2015)+cmake3.10.1
- VS 2015 64位CMake编译openCV3.1.0必备文件
- CMake编译VS2015+OpenCV3.1第三方库
- 64位win7下,vs2015编译、配置caffe
- vs2015 cmake 编译dlib生成动态链接库
- MFC 取消 CDockablePane 自动保存界面配置到注册表
- VS2015中设置D3D12根签名HLSL文件自动编译属性时的注意事项