Click or drag to resize
Accord.NET (logo)

HaarObjectDetectorSuppression Property

Gets or sets the minimum threshold used to suppress rectangles which have not been detected sufficient number of times. This property only has effect when SearchMode is set to Average.

Namespace:  Accord.Vision.Detection
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public int Suppression { get; set; }
Request Example View Source

Property Value

Type: Int32
Remarks

The value of this property represents the minimum amount of detections made inside a region to report this region as an actual detection. For example, setting this property to two will discard all regions which had not achieved at least two detected rectangles within it.

Setting this property to a value higher than zero may decrease the number of false positives.

See Also