Ask Your Question

OpenCV2.4.9:watershed sample to get it to read the keyboard?

asked 2014-07-05 23:49:20 -0500

Hi. There are supposed to be hotkeys but they are not working on OSX 10.9 or on Ubuntu 14.04 LTS. I cannot tell if it is the sample code or an os problem. Can anyone suggest an approach to debugging?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-06 04:37:19 -0500

The keys are simply: 'r' to restore the image, 'w' or 'space' to start the watershed algorithm, but you need before to select a region to segment with the mouse: hold the left button and "paint" some part of the object you want to segment. Is this working? Basic debugging will be painted some pixel and press 'r' to restore the image. This should work on OSX.

edit flag offensive delete link more

Question Tools


Asked: 2014-07-05 23:49:20 -0500

Seen: 189 times

Last updated: Jul 06 '14