问题
I need to hide the cross-shaped cursor that OpenCV shows when moving the mouse over an image window. Does anybody know if it is possible?
I wanted to add a screenshot, but unfortunately the mouse cursor is not shown in screenshots.
Thanks!
回答1:
I don't think it's possible with only OpenCV, you have to use OS API or eventually you may use QT(http://www.codeprogress.com/cpp/libraries/qt/QtHideMouseCursor.php#.UjGpZD-rGoE) - it's quite easy to use it with OpenCV.
来源:https://stackoverflow.com/questions/18761133/hide-mouse-cursor-in-opencv