OpenCV  4.10.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
cv::BaseCascadeClassifier Class Referenceabstract

#include <opencv2/objdetect.hpp>

Collaboration diagram for cv::BaseCascadeClassifier:

Classes

class  MaskGenerator
 

Public Member Functions

virtual ~BaseCascadeClassifier ()
 
virtual void detectMultiScale (InputArray image, std::vector< Rect > &objects, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)=0
 
virtual void detectMultiScale (InputArray image, std::vector< Rect > &objects, std::vector< int > &numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize)=0
 
virtual void detectMultiScale (InputArray image, std::vector< Rect > &objects, std::vector< int > &rejectLevels, std::vector< double > &levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, bool outputRejectLevels)=0
 
virtual bool empty () const CV_OVERRIDE=0
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
 
virtual int getFeatureType () const =0
 
virtual Ptr< MaskGeneratorgetMaskGenerator ()=0
 
virtual void * getOldCascade ()=0
 
virtual Size getOriginalWindowSize () const =0
 
virtual bool isOldFormatCascade () const =0
 
virtual bool load (const String &filename)=0
 
virtual void setMaskGenerator (const Ptr< MaskGenerator > &maskGenerator)=0
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state.
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage.
 
virtual void save (const String &filename) const
 
void write (const Ptr< FileStorage > &fs, const String &name=String()) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage.
 
void write (FileStorage &fs, const String &name) const
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 Loads algorithm from the file.
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String.
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 Reads algorithm from the file node.
 
- Protected Member Functions inherited from cv::Algorithm
void writeFormat (FileStorage &fs) const
 

Constructor & Destructor Documentation

◆ ~BaseCascadeClassifier()

virtual cv::BaseCascadeClassifier::~BaseCascadeClassifier ( )
virtual

Member Function Documentation

◆ detectMultiScale() [1/3]

virtual void cv::BaseCascadeClassifier::detectMultiScale ( InputArray  image,
std::vector< Rect > &  objects,
double  scaleFactor,
int  minNeighbors,
int  flags,
Size  minSize,
Size  maxSize 
)
pure virtual

◆ detectMultiScale() [2/3]

virtual void cv::BaseCascadeClassifier::detectMultiScale ( InputArray  image,
std::vector< Rect > &  objects,
std::vector< int > &  numDetections,
double  scaleFactor,
int  minNeighbors,
int  flags,
Size  minSize,
Size  maxSize 
)
pure virtual

◆ detectMultiScale() [3/3]

virtual void cv::BaseCascadeClassifier::detectMultiScale ( InputArray  image,
std::vector< Rect > &  objects,
std::vector< int > &  rejectLevels,
std::vector< double > &  levelWeights,
double  scaleFactor,
int  minNeighbors,
int  flags,
Size  minSize,
Size  maxSize,
bool  outputRejectLevels 
)
pure virtual

◆ empty()

virtual bool cv::BaseCascadeClassifier::empty ( ) const
pure virtual

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.

Reimplemented from cv::Algorithm.

◆ getFeatureType()

virtual int cv::BaseCascadeClassifier::getFeatureType ( ) const
pure virtual

◆ getMaskGenerator()

virtual Ptr< MaskGenerator > cv::BaseCascadeClassifier::getMaskGenerator ( )
pure virtual

◆ getOldCascade()

virtual void * cv::BaseCascadeClassifier::getOldCascade ( )
pure virtual

◆ getOriginalWindowSize()

virtual Size cv::BaseCascadeClassifier::getOriginalWindowSize ( ) const
pure virtual

◆ isOldFormatCascade()

virtual bool cv::BaseCascadeClassifier::isOldFormatCascade ( ) const
pure virtual

◆ load()

virtual bool cv::BaseCascadeClassifier::load ( const String filename)
pure virtual

◆ setMaskGenerator()

virtual void cv::BaseCascadeClassifier::setMaskGenerator ( const Ptr< MaskGenerator > &  maskGenerator)
pure virtual

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