WaldBoost detector.
More...
#include "xobjdetect.hpp"
§ ~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:
- /build/master-contrib_docs-lin64/opencv_contrib/modules/xobjdetect/include/opencv2/xobjdetect.hpp