Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public CvSeq<CvAvgComp> HaarDetectObjects( CvHaarClassifierCascade cascade, CvMemStorage storage, double scaleFactor )
Parameters
- cascade
- Type: OpenCvSharpCvHaarClassifierCascade
Haar classifier cascade in internal representation. - storage
- Type: OpenCvSharpCvMemStorage
Memory storage to store the resultant sequence of the object candidate rectangles. - scaleFactor
- Type: SystemDouble
The factor by which the search window is scaled between the subsequent scans, for example, 1.1 means increasing window by 10%.
Return Value
Type: CvSeqCvAvgComp[Missing <returns> documentation for "M:OpenCvSharp.CvArr.HaarDetectObjects(OpenCvSharp.CvHaarClassifierCascade,OpenCvSharp.CvMemStorage,System.Double)"]
See Also