HOGDescriptorDetect Method (Mat, Double, Double, NullableSize, NullableSize, Point) OpenCvSharp Class Library
Performs object detection without 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 Point[] Detect(
	Mat img,
	out double[] weights,
	double hitThreshold = 0,
	Nullable<Size> winStride = null,
	Nullable<Size> padding = null,
	Point[] searchLocations = null
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat
Source image. CV_8UC1 and CV_8UC4 types are supported for now.
weights
Type: SystemDouble

[Missing <param name="weights"/> documentation for "M:OpenCvSharp.CPlusPlus.HOGDescriptor.Detect(OpenCvSharp.CPlusPlus.Mat,System.Double[]@,System.Double,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},OpenCvSharp.CPlusPlus.Point[])"]

hitThreshold (Optional)
Type: SystemDouble
Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specfied in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here.
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).
searchLocations (Optional)
Type: OpenCvSharp.CPlusPlusPoint

[Missing <param name="searchLocations"/> documentation for "M:OpenCvSharp.CPlusPlus.HOGDescriptor.Detect(OpenCvSharp.CPlusPlus.Mat,System.Double[]@,System.Double,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Nullable{OpenCvSharp.CPlusPlus.Size},OpenCvSharp.CPlusPlus.Point[])"]

Return Value

Type: Point
Left-top corner points of detected objects boundaries.
See Also

Reference