OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::Detector Class Reference

#include <opencv2/tracking/onlineBoosting.hpp>

Public Member Functions

 Detector (StrongClassifierDirectSelection *classifier)
 
virtual ~Detector (void)
 
void classifySmooth (const std::vector< Mat > &image, float minMargin=0)
 
float getConfidence (int patchIdx)
 
float getConfidenceOfBestDetection ()
 
float getConfidenceOfDetection (int detectionIdx)
 
const std::vector< float > & getConfidences () const
 
const cv::MatgetConfImageDisplay () const
 
const std::vector< int > & getIdxDetections () const
 
int getNumDetections ()
 
int getPatchIdxOfBestDetection ()
 
int getPatchIdxOfDetection (int detectionIdx)
 

Detailed Description

Examples:
samples/cpp/peopledetect.cpp.

Constructor & Destructor Documentation

cv::Detector::Detector ( StrongClassifierDirectSelection classifier)
virtual cv::Detector::~Detector ( void  )
virtual

Member Function Documentation

void cv::Detector::classifySmooth ( const std::vector< Mat > &  image,
float  minMargin = 0 
)
float cv::Detector::getConfidence ( int  patchIdx)
float cv::Detector::getConfidenceOfBestDetection ( )
inline
float cv::Detector::getConfidenceOfDetection ( int  detectionIdx)
const std::vector<float>& cv::Detector::getConfidences ( ) const
inline
const cv::Mat& cv::Detector::getConfImageDisplay ( ) const
inline
const std::vector<int>& cv::Detector::getIdxDetections ( ) const
inline
int cv::Detector::getNumDetections ( )
int cv::Detector::getPatchIdxOfBestDetection ( )
int cv::Detector::getPatchIdxOfDetection ( int  detectionIdx)

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