摘要: // TODO:opencv辅助对象 https://blog.csdn.net/Qregi/article/details/88994301 阅读全文
posted @ 2022-03-15 18:44 0MrMKG 阅读(43) 评论(0) 推荐(0)
摘要: cv::Vec<>模板(固定向量类): cv::Vec{2,3,4,6}{b,w,s,i,f,d} 解释 b unsigned char w unsigned short s short i int f float d double //使用示例: //默认构造函数 cv::Vec2s v2s; c 阅读全文
posted @ 2022-03-15 18:43 0MrMKG 阅读(149) 评论(0) 推荐(0)
摘要: #include<opencv2/opencv.hpp> using namespace cv; void main() { VideoCapture cap; cap.open(0); //打开摄像头 if (!cap.isOpened()) return; Mat frame; while (1 阅读全文
posted @ 2022-03-15 14:24 0MrMKG 阅读(207) 评论(0) 推荐(0)