2017-03-09 19:06:34 -0600 | received badge | ● Taxonomist |
2013-08-27 16:00:09 -0600 | commented answer | Using mouse to paint an area of video with OpenCV Hi! Thank you for helping me, =]. I modified this: void pinta(IplImage* image, int x, int y){ cvFloodFill (image, cvPoint (x,y), cvScalar(103), cvScalarAll(2), cvScalarAll(2), 0, CV_FLOODFILL_FIXED_RANGE , 0); cvShowImage("saida",image); } And it worked, =]! |
2013-08-27 09:12:14 -0600 | asked a question | Using mouse to paint an area of video with OpenCV Hi! I want to paint an area of my video using mouse when the video is paused, but I'm having a little problem. When I pause the video and try to paint a region, the painted area only appears after I press any key on my keyboard (which is not implemented it). I wonder what I could do to the painted area appears when I press the mouse button? Thank you, : ) My code: |