2021
07-22
07-22
VS2017+Qt5+Opencv3.4调用摄像头拍照并存储
1. Qt的ui界面,找着画就好2.头文件直接贴出,之后有时间慢慢解释吧#pragmaonce#include<QtWidgets/QWidget>#include"ui_camaraGet.h"#ifndefCAMARAGET_H#defineCAMARAGET_H#include<opencv2\core\core.hpp>#include<QWidget>#include<QImage>#include<QTimer>//设置采集数据的间隔时间#include<QGraphicsScene>#include<QGraphicsView>#include<highgui/highgui_c.h>//包含opencv库头文件#in...
继续阅读 >