【小虫】openvino CMake编译错误 error: ‘CV_RGB’ was not declared in this scope

openvino 编译错误 error: ‘CV_RGB’ was not declared in this scope


参考:error: ‘CV_RGB’ was not declared in this scope

原因:缺少 #include <opencv2/imgproc/types_c.h>

解决:在对应.h文件添加

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章