WaldBoost detector.
More...
#include <opencv2/xobjdetect.hpp>
|
virtual | ~WBDetector () |
|
virtual void | detect (const Mat &img, std::vector< Rect > &bboxes, std::vector< double > &confidences)=0 |
| Detect objects on image using WaldBoost detector.
|
|
virtual void | read (const FileNode &node)=0 |
| Read detector from FileNode.
|
|
virtual void | train (const std::string &pos_samples, const std::string &neg_imgs)=0 |
| Train WaldBoost detector.
|
|
virtual void | write (FileStorage &fs) const =0 |
| Write detector to FileStorage.
|
|
◆ ~WBDetector()
virtual cv::xobjdetect::WBDetector::~WBDetector |
( |
| ) |
|
|
inlinevirtual |
◆ create()
◆ detect()
virtual void cv::xobjdetect::WBDetector::detect |
( |
const Mat & | img, |
|
|
std::vector< Rect > & | bboxes, |
|
|
std::vector< double > & | confidences ) |
|
pure virtual |
Detect objects on image using WaldBoost detector.
- Parameters
-
img | Input image for detection |
bboxes | Bounding boxes coordinates output vector |
confidences | Confidence values for bounding boxes output vector |
◆ read()
virtual void cv::xobjdetect::WBDetector::read |
( |
const FileNode & | node | ) |
|
|
pure virtual |
◆ train()
virtual void cv::xobjdetect::WBDetector::train |
( |
const std::string & | pos_samples, |
|
|
const std::string & | neg_imgs ) |
|
pure virtual |
Train WaldBoost detector.
- Parameters
-
pos_samples | Path to directory with cropped positive samples |
neg_imgs | Path to directory with negative (background) images |
◆ write()
virtual void cv::xobjdetect::WBDetector::write |
( |
FileStorage & | fs | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: