编译Seetaface python版出现的问题,解决办法

在尝试编译GitHub上的pyseeta项目时,遇到了与opencv版本和Visual Studio 2015不兼容的问题。详细记录了从cmake配置到python安装过程中遇到的四个主要问题及解决步骤:1.cmake报错通过上篇博客解决;2.添加“imgproc.hpp”解决测试文件编译错误;3.修改FaceRecognition测试文件以消除cmake构建错误;4.python setup.py install时探测不到detector,问题待解决。
摘要由CSDN通过智能技术生成

GitHub----pyseeta https://github.com/TuXiaokang/pyseeta
按照该README进行编译.
由于opencv版本和visual studio 版本的不一样,或者其他各种各样的原因,编译出现各种错误。
我是用的 opencv3.4.3 ;VS2015社区版; win10专业版
过程中出现的问题如下:

1.cmake -G “Visual Studio 14 2015 Win64” …报错:
CMake Error at CMakeLists.txt:15 (find_package):
  Could not find module FindOpenCV.cmake or a configuration file for package
  OpenCV.
Adjust CMAKE_MODULE_PATH to find FindOpenCV.cmake or set OpenCV_DIR to the
  directory containing a CMake configuration file for OpenCV.  The file will
  have one of the following names:
OpenCVConfig.cmake
    opencv-config.cmake

这个问题在上一篇博客中给了解决办法

2. cmake -G “Visual Studio 14 2015 Win64” …报错:
CV_RGB什么的问题,忘记error具体怎么描述了
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值