#include <opencv2/objdetect.hpp>
|
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 |
| 如果 算法 为空(例如,在最开始或读取失败后),则返回 true。
|
|
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 | setMaskGenerator (const Ptr< MaskGenerator > &maskGenerator)=0 |
|
| Algorithm () |
|
virtual | ~Algorithm () |
|
virtual void | clear () |
| 清除算法状态。
|
|
virtual String | getDefaultName () const |
|
virtual void | read (const FileNode &fn) |
| 从文件存储中读取算法参数。
|
|
virtual void | save (const String &filename) const |
|
void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
|
virtual void | write (FileStorage &fs) const |
| 将算法参数存储到文件存储中。
|
|
void | write (FileStorage &fs, const String &name) const |
|
◆ ~BaseCascadeClassifier()
virtual cv::BaseCascadeClassifier::~BaseCascadeClassifier |
( |
| ) |
|
|
virtual |
◆ detectMultiScale() [1/3]
virtual void cv::BaseCascadeClassifier::detectMultiScale |
( |
InputArray |
image, |
|
|
std::vector< Rect > & |
objects, |
|
|
double |
scaleFactor, |
|
|
int |
minNeighbors, |
|
|
int |
flags, |
|
|
Size |
minSize, |
|
|
Size |
maxSize |
|
) |
| |
|
纯虚函数 |
◆ 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 |
|
) |
| |
|
纯虚函数 |
◆ 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 |
|
) |
| |
|
纯虚函数 |
◆ empty()
virtual bool cv::BaseCascadeClassifier::empty |
( |
| ) |
const |
|
纯虚函数 |
◆ getFeatureType()
virtual int cv::BaseCascadeClassifier::getFeatureType |
( |
| ) |
const |
|
纯虚函数 |
◆ getMaskGenerator()
◆ getOldCascade()
virtual void * cv::BaseCascadeClassifier::getOldCascade |
( |
| ) |
|
|
纯虚函数 |
◆ getOriginalWindowSize()
virtual Size cv::BaseCascadeClassifier::getOriginalWindowSize |
( |
| ) |
const |
|
纯虚函数 |
◆ isOldFormatCascade()
virtual bool cv::BaseCascadeClassifier::isOldFormatCascade |
( |
| ) |
const |
|
纯虚函数 |
◆ load()
virtual bool cv::BaseCascadeClassifier::load |
( |
const String & |
filename | ) |
|
|
纯虚函数 |
◆ setMaskGenerator()
virtual void cv::BaseCascadeClassifier::setMaskGenerator |
( |
const Ptr< MaskGenerator > & |
maskGenerator | ) |
|
|
纯虚函数 |
该类的文档从以下文件生成