OpenCV:打开摄像头获取视频流

代码: #include #include using namespace cv; using namespace std; int main() { //【1】从摄像头读入视频     VideoCapture capture(1);     if (!capture.isOpened()) { cout<< "open camera fail ..." << endl;         ret
相关文章
相关标签/搜索