2020-04-15 17:20:55 -0600 | received badge | ● Famous Question (source) |
2017-01-27 22:25:10 -0600 | received badge | ● Notable Question (source) |
2016-03-01 06:48:25 -0600 | received badge | ● Popular Question (source) |
2015-01-03 21:04:19 -0600 | received badge | ● Student (source) |
2013-10-25 11:58:27 -0600 | commented answer | Drawing rectangle OpenCV : don't understand a detail YEEESSSS, Very thanks berak, |
2013-10-25 11:32:04 -0600 | asked a question | Drawing rectangle OpenCV : don't understand a detail Hi everybody, ther is a detail that i can't understand it, here is the code for drawing rectangle in the first image captured from cam. it work very fine, BUT i can't understand one thing : in the main part, and precisely in the while loop, it is not supposed that if i don't use anymore the mouse, the temp image will be the same as original image after one loop at less ? Untill now, all rectangles that i drawed still showen !! Thank you for your comment; |
2013-10-24 10:52:37 -0600 | commented answer | How to handle mouse wheel event in OpenCV? Thank You Median ! |
2013-10-24 10:51:55 -0600 | received badge | ● Supporter (source) |
2013-10-24 10:51:54 -0600 | received badge | ● Scholar (source) |
2013-10-22 05:48:59 -0600 | asked a question | How to handle mouse wheel event in OpenCV? Hello, All is in the title: how to manage an event of mouse wheel on OpenCV ? Here is my task : I would like to write a program that displays an image in OpenCV window. I click anywhere in the image to define the " upper left" corner of a square that I want to draw, and with the mouse wheel , I draw while controlling the size of his side . It's that simple , but difficult to find out how. For now , the wheel gave me a zoom, so .. Event exists somewhere but I did find the following event: CV_EVENT_MOUSEMOVE - When the mouse pointer moves over the specified window CV_EVENT_LBUTTONDOWN - When the left button of the mouse is pressed on the specified window CV_EVENT_RBUTTONDOWN - When the right button of the mouse is pressed on the specified window CV_EVENT_MBUTTONDOWN - When the middle button of the mouse is pressed on the specified window CV_EVENT_LBUTTONUP - When the left button of the mouse is released on the specified window CV_EVENT_RBUTTONUP - When the right button of the mouse is released on the specified window CV_EVENT_MBUTTONUP - When the middle button of the mouse is released on the specified window hoping to find an answer , Thank you for your help, |