OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::xobjdetect::WBDetector Class Referenceabstract

WaldBoost detector. More...

#include <opencv2/xobjdetect.hpp>

Collaboration diagram for cv::xobjdetect::WBDetector:

Public Member Functions

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.
 

Static Public Member Functions

static Ptr< WBDetectorcreate ()
 Create instance of WBDetector.
 

Detailed Description

WaldBoost detector.

Constructor & Destructor Documentation

◆ ~WBDetector()

virtual cv::xobjdetect::WBDetector::~WBDetector ( )
inlinevirtual

Member Function Documentation

◆ create()

static Ptr< WBDetector > cv::xobjdetect::WBDetector::create ( )
static

Create instance of WBDetector.

◆ 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
imgInput image for detection
bboxesBounding boxes coordinates output vector
confidencesConfidence values for bounding boxes output vector

◆ read()

virtual void cv::xobjdetect::WBDetector::read ( const FileNode & node)
pure virtual

Read detector from FileNode.

Parameters
nodeFileNode for input

◆ train()

virtual void cv::xobjdetect::WBDetector::train ( const std::string & pos_samples,
const std::string & neg_imgs )
pure virtual

Train WaldBoost detector.

Parameters
pos_samplesPath to directory with cropped positive samples
neg_imgsPath to directory with negative (background) images

◆ write()

virtual void cv::xobjdetect::WBDetector::write ( FileStorage & fs) const
pure virtual

Write detector to FileStorage.

Parameters
fsFileStorage for output

The documentation for this class was generated from the following file: