-
出现error: ‘COLOR_BGR2GRAY’ was not declared in this scope
解决方案:
在前面添加:
#include <opencv2/imgproc/types_c.h> -
error: ‘CV_LOAD_IMAGE_COLOR’ was not declared in this scope
frame = imread(frameName, CV_LOAD_IMAGE_COLOR);似乎也是版本更新导致的问题
把 CV_LOAD_IMAGE_COLOR 改成IMREAD_COLOR
运行kcf_cpp 遇到的俩坑
最新推荐文章于 2023-08-31 16:39:16 发布