From ff39c9fc952314746ff0ea8fe30f7847cb8916ee Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Thu, 2 Nov 2023 04:26:48 -0500 Subject: [PATCH] Basic video navigation controls. --- OpenCVVideoParser/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCVVideoParser/main.cpp b/OpenCVVideoParser/main.cpp index 470bc2e..9f39cf6 100644 --- a/OpenCVVideoParser/main.cpp +++ b/OpenCVVideoParser/main.cpp @@ -94,7 +94,7 @@ public: cv::Mat targetFrame=get_frame(video,std::clamp(int(frameView),0,int(video.get(cv::CAP_PROP_FRAME_COUNT)))); for(int y=0;y(cv::Point{x,y}); + cv::Vec3b col=targetFrame.at(y,x); Draw(x,y,{col[2],col[1],col[0]}); } }