Hide mouse cursor in OpenCV

試著忘記壹切 提交于 2019-12-24 02:07:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!