“CV_RGB2BGR”: 未声明的标识符 复制代码 1 #include"opencv2/imgproc/types_c.h" 添加以上头文件 本文作者:callcall 本文链接:https://www.cnblogs.com/MorganMa/p/13937326.html 版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
Closed I tried to build the new commit, the above error is showing. I included the#include <opencv2/imgproc/types_c.h>in theunity_bridge.hppand it builds without any error. Is it the right way to fix the error? Activity Sign up for freeto join this conversation on GitHub.Already ha...
I get the error "Has no attribute 'cv' " in the line " im = cv2.cvtColor(im, cv2.cv.CV_RGB2BGR)", when I run demo.sh . Can anyone solve it ? thanks!ZongweiZhou1 commented Nov 4, 2017 replace 'cv2.cv.CV_RGB2BGR' with 'cv2.COLOR_RGB2BGR' cause your opencv version maybe ...