简体   繁体   English

在OpenCV中隐藏鼠标光标

[英]Hide mouse cursor in OpenCV

I need to hide the cross-shaped cursor that OpenCV shows when moving the mouse over an image window. 将鼠标移到图像窗口上方时,我需要隐藏OpenCV显示的十字形光标。 Does anybody know if it is possible? 有人知道这是否可能吗?

I wanted to add a screenshot, but unfortunately the mouse cursor is not shown in screenshots. 我想添加一个屏幕截图,但不幸的是,鼠标光标未显示在屏幕截图中。

Thanks! 谢谢!

我认为仅使用OpenCV是不可能的,您必须使用OS API或最终可以使用QT( http://www.codeprogress.com/cpp/libraries/qt/QtHideMouseCursor.php#.UjGpZD-rGoE )-在OpenCV中使用它非常容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM