对视频的操作主要用的是VideoCapture类。
读入视频的方法一般有两种:
1.VideoCapture capture;
capture.open("1.avi");
2.VideoCapture capture ("1.avi");
这两种写法类似于int a;a=1;和int a=1;
视频读入到
对视频的操作主要用的是VideoCapture类。
读入视频的方法一般有两种:
1.VideoCapture capture;
capture.open("1.avi");
2.VideoCapture capture ("1.avi");
这两种写法类似于int a;a=1;和int a=1;
视频读入到