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, out double[] foundWeights, 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. - foundWeights
- Type: SystemDouble
[Missing <param name="foundWeights"/> documentation for "M:OpenCvSharp.CPlusPlus.HOGDescriptor.DetectMultiScale(OpenCvSharp.CPlusPlus.Mat,System.Double[]@,System.Double,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Double,System.Int32)"]
- 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: RectDetected objects boundaries.
See Also