User Tools

Site Tools


opencv_tutorials_t2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
opencv_tutorials_t2 [2016/06/06 16:28]
joaomatos
opencv_tutorials_t2 [2017/05/13 17:04] (current)
acater [Understanding the Code]
Line 95: Line 95:
  
 On the main program we call our onMouse function using the setMouseCallback . It will set the mouse handler for the  first argument window (which we opened using the imread function ). On this case we don't set any event (just call if a certain mouse button is pressed ). If you want to call the function just in specific cases , you can find an example [[http://​docs.opencv.org/​2.4/​modules/​highgui/​doc/​user_interface.html|Here]] on the setMouseCallback section. On the main program we call our onMouse function using the setMouseCallback . It will set the mouse handler for the  first argument window (which we opened using the imread function ). On this case we don't set any event (just call if a certain mouse button is pressed ). If you want to call the function just in specific cases , you can find an example [[http://​docs.opencv.org/​2.4/​modules/​highgui/​doc/​user_interface.html|Here]] on the setMouseCallback section.
 +\\
 +\\
 +The video below will demonstrate the program in real time.
 +{{youtube>​rYMtRWtgx9Q?​medium}}
opencv_tutorials_t2.txt ยท Last modified: 2017/05/13 17:04 by acater