HOGDescriptorDetectMultiScale Method (Mat, Double, NullableSize, NullableSize, Double, Int32) OpenCvSharp Class Library
Performs object detection with a multi-scale window.

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

public virtual Rect[] DetectMultiScale(
	Mat img,
	double hitThreshold = 0,
	Nullable<Size> winStride = null,
	Nullable<Size> padding = null,
	double scale = 1.05,
	int groupThreshold = 2
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Source image. CV_8UC1 and CV_8UC4 types are supported for now.
hitThreshold (Optional)
Type: SystemDouble
Threshold for the distance between features and SVM classifying plane.
winStride (Optional)
Type: SystemNullableSize
Window stride. It must be a multiple of block stride.
padding (Optional)
Type: SystemNullableSize
Mock parameter to keep the CPU interface compatibility. It must be (0,0).
scale (Optional)
Type: SystemDouble
Coefficient of the detection window increase.
groupThreshold (Optional)
Type: SystemInt32
Coefficient to regulate the similarity threshold. When detected, some objects can be covered by many rectangles. 0 means not to perform grouping.

Return Value

Type: Rect
Detected objects boundaries.
See Also

Reference