我在一个关于用opencv进行符号识别的项目中工作。在这个脚本中,我将PC中的信号图像与网络摄像头中的图像进行比较。你知道吗
但是函数bitwise_xor
出了点问题
错误:
The operation is neither 'array op array' (where arrays have the same size and type), nor 'array op scalar', nor 'scalar op array' in function cv::binary_op
我的代码在这里: (https://pastebin.com/bENGUY93)
谢谢
你的代码对我来说运行良好。只需要把
w/2
floats
转换成int
,就是这样。你知道吗相关问题 更多 >
编程相关推荐