|
|
@ -94,7 +94,7 @@ public: |
|
|
|
cv::Mat targetFrame=get_frame(video,std::clamp(int(frameView),0,int(video.get(cv::CAP_PROP_FRAME_COUNT)))); |
|
|
|
cv::Mat targetFrame=get_frame(video,std::clamp(int(frameView),0,int(video.get(cv::CAP_PROP_FRAME_COUNT)))); |
|
|
|
for(int y=0;y<targetFrame.rows;y++){ |
|
|
|
for(int y=0;y<targetFrame.rows;y++){ |
|
|
|
for(int x=0;x<targetFrame.cols;x++){ |
|
|
|
for(int x=0;x<targetFrame.cols;x++){ |
|
|
|
cv::Vec3b col=targetFrame.at<cv::Vec3b>(cv::Point{x,y}); |
|
|
|
cv::Vec3b col=targetFrame.at<cv::Vec3b>(y,x); |
|
|
|
Draw(x,y,{col[2],col[1],col[0]}); |
|
|
|
Draw(x,y,{col[2],col[1],col[0]}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|