Click or drag to resize
Accord.NET (logo)

HaarObjectDetector Constructor (HaarCascade, Int32, ObjectDetectorSearchMode)

Constructs a new Haar object detector.

Namespace:  Accord.Vision.Detection
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.7.0
Syntax
public HaarObjectDetector(
	HaarCascade cascade,
	int minSize,
	ObjectDetectorSearchMode searchMode
)
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
See Also