安装好opencv后,我先在电脑实现了opencv与arduino的通信,现在写的是通过串口与arduino,若是想用其他通信,只需根据通信协议,按照数据发送接收格式改一下即可。 #include "windows.h" #include <conio.h> #include <tchar.h> #include <opencv\highgui.h> #include <opencv\cv.h> #include <iostream> #include...