Click or drag to resize
Accord.NET (logo)

HaarObjectDetector Constructor (HaarCascade, Int32)

Constructs a new Haar object detector.

Namespace:  Accord.Vision.Detection
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public HaarObjectDetector(
	HaarCascade cascade,
	int minSize
)
Request Example View Source

Parameters

cascade
Type: Accord.Vision.DetectionHaarCascade
The HaarCascade to use in the detector's classifier. For the default face cascade, please take a look on FaceHaarCascade.
minSize
Type: SystemInt32
Minimum window size to consider when searching for objects. Default value is 15.
See Also