WaldBoost detector.
More...
#include "xobjdetect.hpp"
virtual cv::xobjdetect::WBDetector::~WBDetector |
( |
| ) |
|
|
inlinevirtual |
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 |
virtual void cv::xobjdetect::WBDetector::read |
( |
const FileNode & |
node | ) |
|
|
pure virtual |
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 |
virtual void cv::xobjdetect::WBDetector::write |
( |
FileStorage & |
fs | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file:
- /build/master-contrib_docs-mac/opencv_contrib/modules/xobjdetect/include/opencv2/xobjdetect.hpp