【小蟲】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文件添加

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