摘要:
#include<opencv2\opencv.hpp> using namespace cv; int main() { //从摄像头读取视频 VideoCapture capture; capture.open(0); //循环显示每一帧 while (1) { Mat frame; captu 阅读全文
摘要:
#include<opencv2\opencv.hpp> using namespace cv; int main() { //读取视频 VideoCapture capture; capture.open("test01.mp4"); //循环每一帧 while (1) { Mat frame; 阅读全文