Runs cascade of boosted classifier at given image location
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool RunHaarClassifierCascade( CvHaarClassifierCascade cascade, CvPoint pt )
Parameters
- cascade
- Type: OpenCvSharpCvHaarClassifierCascade
Haar classifier cascade. - pt
- Type: OpenCvSharpCvPoint
Top-left corner of the analyzed region. Size of the region is a original window size scaled by the currenly set scale. The current window size may be retrieved using cvGetHaarClassifierCascadeWindowSize function.
Return Value
Type: Booleanpositive value if the analyzed rectangle passed all the classifier stages (it is a candidate) and zero or negative value otherwise.
See Also