Click or drag to resize

Cv2.SetMouseCallback Method

Sets the callback function for mouse events occuting within the specified window.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void SetMouseCallback(
	string windowName,
	CvMouseCallback onMouse
)

Parameters

windowName
Type: System.String
Name of the window.
onMouse
Type: OpenCvSharp.CvMouseCallback
Reference to the function to be called every time mouse event occurs in the specified window.
See Also