Click or drag to resize

LatentSvmDetectorDetect Method

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual LatentSvmDetectorObjectDetection[] Detect(
	Mat image,
	float overlapThreshold = 0.5f,
	int numThreads = -1
)

Parameters

image
Type: OpenCvSharpMat
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