OpenCV  2.4.13
Open Source Computer Vision
cv::ocl::OclCascadeClassifier Class Reference

#include <ocl.hpp>

Inheritance diagram for cv::ocl::OclCascadeClassifier:
cv::CascadeClassifier

Public Member Functions

 OclCascadeClassifier ()
 
 ~OclCascadeClassifier ()
 
CvSeqoclHaarDetectObjects (oclMat &gimg, CvMemStorage *storage, double scaleFactor, int minNeighbors, int flags, CvSize minSize=cvSize(0, 0), CvSize maxSize=cvSize(0, 0))
 
void detectMultiScale (oclMat &image, CV_OUT std::vector< cv::Rect > &faces, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size())
 
- Public Member Functions inherited from cv::CascadeClassifier
 CascadeClassifier ()
 
 CascadeClassifier (const string &filename)
 
virtual ~CascadeClassifier ()
 
virtual bool empty () const
 
bool load (const string &filename)
 
virtual bool read (const FileNode &node)
 
virtual void detectMultiScale (const Mat &image, CV_OUT vector< Rect > &objects, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size())
 
virtual void detectMultiScale (const Mat &image, CV_OUT vector< Rect > &objects, vector< int > &rejectLevels, vector< double > &levelWeights, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size(), bool outputRejectLevels=false)
 
bool isOldFormatCascade () const
 
virtual Size getOriginalWindowSize () const
 
int getFeatureType () const
 
bool setImage (const Mat &)
 
void setMaskGenerator (Ptr< MaskGenerator > maskGenerator)
 
Ptr< MaskGeneratorgetMaskGenerator ()
 
void setFaceDetectionMaskGenerator ()
 

Additional Inherited Members

- Protected Types inherited from cv::CascadeClassifier
enum  { BOOST = 0 }
 
enum  { DO_CANNY_PRUNING = 1, SCALE_IMAGE = 2, FIND_BIGGEST_OBJECT = 4, DO_ROUGH_SEARCH = 8 }
 
- Protected Member Functions inherited from cv::CascadeClassifier
virtual bool detectSingleScale (const Mat &image, int stripCount, Size processingRectSize, int stripSize, int yStep, double factor, vector< Rect > &candidates, vector< int > &rejectLevels, vector< double > &levelWeights, bool outputRejectLevels=false)
 
bool setImage (Ptr< FeatureEvaluator > &feval, const Mat &image)
 
virtual int runAt (Ptr< FeatureEvaluator > &feval, Point pt, double &weight)
 
- Protected Attributes inherited from cv::CascadeClassifier
Data data
 
Ptr< FeatureEvaluatorfeatureEvaluator
 
Ptr< CvHaarClassifierCascadeoldCascade
 
Ptr< MaskGeneratormaskGenerator
 

Constructor & Destructor Documentation

cv::ocl::OclCascadeClassifier::OclCascadeClassifier ( )
inline
cv::ocl::OclCascadeClassifier::~OclCascadeClassifier ( )
inline

Member Function Documentation

void cv::ocl::OclCascadeClassifier::detectMultiScale ( oclMat image,
CV_OUT std::vector< cv::Rect > &  faces,
double  scaleFactor = 1.1,
int  minNeighbors = 3,
int  flags = 0,
Size  minSize = Size(),
Size  maxSize = Size() 
)
CvSeq* cv::ocl::OclCascadeClassifier::oclHaarDetectObjects ( oclMat gimg,
CvMemStorage storage,
double  scaleFactor,
int  minNeighbors,
int  flags,
CvSize  minSize = cvSize(0, 0),
CvSize  maxSize = cvSize(0, 0) 
)

The documentation for this class was generated from the following file: