cv2.EVENT_LBUTTONDOWN
时间: 2023-10-06 21:13:55 浏览: 127
cv2.EVENT_LBUTTONDOWN是OpenCV中的一个鼠标事件,表示鼠标左键按下的事件。当鼠标左键按下时,可以执行相应的操作。在引用\[2\]中,EVENT_LBUTTONDOWN的值为1,表示左键点击事件。在引用\[3\]中的示例中,当鼠标左键双击时,会执行draw_circle函数中的代码。所以,cv2.EVENT_LBUTTONDOWN可以用来检测鼠标左键点击事件。
#### 引用[.reference_title]
- *1* *3* [python——实现鼠标与键盘监听与事件处理](https://blog.csdn.net/lidashent/article/details/121892655)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [python/opencv 鼠标和键盘响应操作](https://blog.csdn.net/kailvechao1536/article/details/89350396)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文