#include "objdetect.hpp"
|
virtual | ~BaseCascadeClassifier () |
|
virtual void | clear () |
| Clears the algorithm state. More...
|
|
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 =0 |
| Returns true if the Algorithm is empty (e.g. More...
|
|
virtual String | getDefaultName () const |
| Returns the algorithm string identifier. More...
|
|
virtual int | getFeatureType () const =0 |
|
virtual Ptr< MaskGenerator > | getMaskGenerator ()=0 |
|
virtual void * | getOldCascade ()=0 |
|
virtual Size | getOriginalWindowSize () const =0 |
|
virtual bool | isOldFormatCascade () const =0 |
|
virtual bool | load (const String &filename)=0 |
|
virtual void | read (const FileNode &fn) |
| Reads algorithm parameters from a file storage. More...
|
|
virtual void | save (const String &filename) const |
| Saves the algorithm to a file. More...
|
|
virtual void | setMaskGenerator (const Ptr< MaskGenerator > &maskGenerator)=0 |
|
virtual void | write (FileStorage &fs) const |
| Stores algorithm parameters in a file storage. More...
|
|
virtual cv::BaseCascadeClassifier::~BaseCascadeClassifier |
( |
| ) |
|
|
virtual |
virtual void cv::Algorithm::clear |
( |
| ) |
|
|
inlinevirtualinherited |
virtual void cv::BaseCascadeClassifier::detectMultiScale |
( |
InputArray |
image, |
|
|
std::vector< Rect > & |
objects, |
|
|
double |
scaleFactor, |
|
|
int |
minNeighbors, |
|
|
int |
flags, |
|
|
Size |
minSize, |
|
|
Size |
maxSize |
|
) |
| |
|
pure virtual |
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 |
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 |
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.
virtual String cv::Algorithm::getDefaultName |
( |
| ) |
const |
|
virtualinherited |
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
virtual int cv::BaseCascadeClassifier::getFeatureType |
( |
| ) |
const |
|
pure virtual |
virtual void* cv::BaseCascadeClassifier::getOldCascade |
( |
| ) |
|
|
pure virtual |
virtual Size cv::BaseCascadeClassifier::getOriginalWindowSize |
( |
| ) |
const |
|
pure virtual |
virtual bool cv::BaseCascadeClassifier::isOldFormatCascade |
( |
| ) |
const |
|
pure virtual |
virtual bool cv::BaseCascadeClassifier::load |
( |
const String & |
filename | ) |
|
|
pure virtual |
template<typename _Tp >
static Ptr<_Tp> cv::Algorithm::loadFromString |
( |
const String & |
strModel, |
|
|
const String & |
objname = String() |
|
) |
| |
|
inlinestaticinherited |
virtual void cv::Algorithm::read |
( |
const FileNode & |
fn | ) |
|
|
inlinevirtualinherited |
template<typename _Tp >
static Ptr<_Tp> cv::Algorithm::read |
( |
const FileNode & |
fn | ) |
|
|
inlinestaticinherited |
Reads algorithm from the file node.
This is static template method of Algorithm. It's usage is following (in the case of SVM):
Ptr<SVM> svm = Algorithm::read<SVM>(fsRead.root());
In order to make this method work, the derived class must overwrite Algorithm::read(const FileNode& fn) and also have static create() method without parameters (or with all the optional parameters)
References cv::Ptr< T >::empty().
virtual void cv::Algorithm::save |
( |
const String & |
filename | ) |
const |
|
virtualinherited |
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
virtual void cv::BaseCascadeClassifier::setMaskGenerator |
( |
const Ptr< MaskGenerator > & |
maskGenerator | ) |
|
|
pure virtual |
virtual void cv::Algorithm::write |
( |
FileStorage & |
fs | ) |
const |
|
inlinevirtualinherited |
void cv::Algorithm::writeFormat |
( |
FileStorage & |
fs | ) |
const |
|
protectedinherited |
The documentation for this class was generated from the following file:
- objdetect/include/opencv2/objdetect.hpp