HOGDescriptorDetectMultiScale Method |
http://www.emgu.com
Performs object detection with increasing detection window.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic MCvObjectDetection[] DetectMultiScale(
IInputArray image,
double hitThreshold = 0,
Size winStride = null,
Size padding = null,
double scale = 1.05,
double finalThreshold = 2,
bool useMeanshiftGrouping = false
)
Public Function DetectMultiScale (
image As IInputArray,
Optional hitThreshold As Double = 0,
Optional winStride As Size = Nothing,
Optional padding As Size = Nothing,
Optional scale As Double = 1.05,
Optional finalThreshold As Double = 2,
Optional useMeanshiftGrouping As Boolean = false
) As MCvObjectDetection()
public:
array<MCvObjectDetection>^ DetectMultiScale(
IInputArray^ image,
double hitThreshold = 0,
Size winStride = nullptr,
Size padding = nullptr,
double scale = 1.05,
double finalThreshold = 2,
bool useMeanshiftGrouping = false
)
member DetectMultiScale :
image : IInputArray *
?hitThreshold : float *
?winStride : Size *
?padding : Size *
?scale : float *
?finalThreshold : float *
?useMeanshiftGrouping : bool
(* Defaults:
let _hitThreshold = defaultArg hitThreshold 0
let _winStride = defaultArg winStride null
let _padding = defaultArg padding null
let _scale = defaultArg scale 1.05
let _finalThreshold = defaultArg finalThreshold 2
let _useMeanshiftGrouping = defaultArg useMeanshiftGrouping false
*)
-> MCvObjectDetection[]
Parameters
- image
- Type: Emgu.CVIInputArray
The image to search in - hitThreshold (Optional)
- Type: SystemDouble
Threshold for the distance between features and SVM classifying plane.
Usually it is 0 and should be specified 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: System.DrawingSize
Window stride. Must be a multiple of block stride. - padding (Optional)
- Type: System.DrawingSize
[Missing <param name="padding"/> documentation for "M:Emgu.CV.HOGDescriptor.DetectMultiScale(Emgu.CV.IInputArray,System.Double,System.Drawing.Size,System.Drawing.Size,System.Double,System.Double,System.Boolean)"]
- scale (Optional)
- Type: SystemDouble
Coefficient of the detection window increase. - finalThreshold (Optional)
- Type: SystemDouble
After detection some objects could be covered by many rectangles. This coefficient regulates similarity threshold. 0 means don't perform grouping. Should be an integer if not using meanshift grouping. Use 2.0 for default - useMeanshiftGrouping (Optional)
- Type: SystemBoolean
If true, it will use meanshift grouping.
Return Value
Type:
MCvObjectDetectionThe regions where positives are found
See Also