我尝试使用Opencv和额外的包来通过某些面部特征来检测性别。但是当我尝试构建示例代码时,会发生错误。更糟糕的是,我无法找到错误。有人可以提供帮助或提示我吗?
c:\program files\opencv\build\include\opencv2\core\private.hpp(48): fatal error C1189: #error: this is a private header which should not be used from outside of the OpenCV library
48. #ifndef __OPENCV_BUILD
49. # error this is a private header which should not be used from outside of the OpenCV library
50. #endif
face
的一个子文件复制到原始的opencv文件中。 #include "face.hpp"
没问题,但错误发生了。