Click or drag to resize
Accord.NET (logo)

HaarObjectDetector Constructor (HaarCascade, Int32, ObjectDetectorSearchMode, Single)

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,
	ObjectDetectorSearchMode searchMode,
	float scaleFactor
)
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.
searchMode
Type: Accord.Vision.DetectionObjectDetectorSearchMode
The ObjectDetectorSearchMode to use during search. Please see documentation of ObjectDetectorSearchMode for details. Default value is NoOverlap
scaleFactor
Type: SystemSingle
The re-scaling factor to use when re-scaling the window during search.
See Also