Cv2SetMouseCallback Method OpenCvSharp Class Library
Sets the callback function for mouse events occuting within the specified window.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void SetMouseCallback(
	string windowName,
	CvMouseCallback onMouse
)

Parameters

windowName
Type: SystemString
Name of the window.
onMouse
Type: OpenCvSharpCvMouseCallback
Reference to the function to be called every time mouse event occurs in the specified window.
See Also

Reference