LatentSvmDetectorDetect Method OpenCvSharp Class Library
Find rectangular regions in the given image that are likely to contain objects of loaded classes (models) and corresponding confidence levels.

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

public virtual LatentSvmDetectorObjectDetection[] Detect(
	Mat image,
	float overlapThreshold = 0.5f,
	int numThreads = -1
)

Parameters

image
Type: OpenCvSharp.CPlusPlusMat
An image.
overlapThreshold (Optional)
Type: SystemSingle
Threshold for the non-maximum suppression algorithm.
numThreads (Optional)
Type: SystemInt32
Number of threads used in parallel version of the algorithm.

Return Value

Type: LatentSvmDetectorObjectDetection
The detections: rectangulars, scores and class IDs.
See Also

Reference