Detecting clicks on an image with OpenCV

OpenCV
Python
February 2026
Detecting clicks on an image with OpenCV

Overview This project uses the OpenCV library to detect mouse clicks on a displayed image. It allows you to retrieve the coordinates of the clicked points and display them on the image. It can be useful for image processing applications, such as selecting regions of interest or marking objects.

Technologies Used OpenCV, une bibliothèque open sourcOpenCV, an open source library for computer vision and machine learning.