opencv视频播放 按q退出空格暂停 ----C++
#include <opencv2/opencv.hpp>using namespace cv;int keyvalue = 0;int main() { VideoCapture capture("/home/*/*.mp4"); //改成文件路径 while(1){ Mat frame; capture >> frame; imshow("final",frame); keyval...
原创
2021-07-25 16:23:05 ·
2563 阅读 ·
1 评论