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]}); } }