int main(int, char**)
{
VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
return -1;
Mat edges;
用opencv从视频中读取图像为空的解决方法
最新推荐文章于 2023-12-19 17:23:14 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
int main(int, char**)
{
VideoCapture cap(0); // open the default camera
if(!cap.isOpened()) // check if we succeeded
return -1;
Mat edges;