摘要:
VideoCapture capture(0);/*设置摄像头参数 不要随意修改capture.set(CV_CAP_PROP_FRAME_WIDTH, 1080);//宽度 capture.set(CV_CAP_PROP_FRAME_HEIGHT, 960);//高度capture.set(CV_ 阅读全文
posted @ 2018-11-02 22:01
一抹烟霞
阅读(3842)
评论(0)
推荐(0)
摘要:
问题原因: 访问像素时指针越界造成的 解决办法: 1、检查指针下标是否正确 2、row和col是否写反了 阅读全文
posted @ 2018-11-02 21:28
一抹烟霞
阅读(4440)
评论(0)
推荐(0)
摘要:
问题原因: You are probably working outside of the image dimensions. Does any of the values you pass to the cvSetImageROI function lay outside the image bo 阅读全文
posted @ 2018-11-02 20:59
一抹烟霞
阅读(11261)
评论(1)
推荐(0)