42
#ifndef __OPENCV_XOBJDETECT_XOBJDETECT_HPP__
43
#define __OPENCV_XOBJDETECT_XOBJDETECT_HPP__
45
#include <opencv2/core.hpp>
78
const
std::string& pos_samples,
79
const
std::string& neg_imgs) = 0;
88
std::vector<Rect> &bboxes,
89
std::vector<double> &confidences) = 0;
File Storage Node class.
Definition:
persistence.hpp:482
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition:
persistence.hpp:304
n-dimensional dense array class
Definition:
mat.hpp:802
WaldBoost detector
Definition:
xobjdetect.hpp:61
virtual void train(const std::string &pos_samples, const std::string &neg_imgs)=0
Train WaldBoost detector
static Ptr< WBDetector > create()
Create instance of WBDetector
virtual void write(FileStorage &fs) const =0
Write detector to FileStorage.
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.
"black box" representation of the file storage associated with a file on disk.
Definition:
aruco.hpp:75
Definition:
cvstd_wrapper.hpp:74