OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cv::detail::tracking::TrackerSamplerAlgorithm Class Referenceabstract

Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler. More...

#include <opencv2/video/detail/tracking.detail.hpp>

Collaboration diagram for cv::detail::tracking::TrackerSamplerAlgorithm:

Public Member Functions

virtual ~TrackerSamplerAlgorithm ()
 
virtual bool sampling (const Mat &image, const Rect &boundingBox, std::vector< Mat > &sample)=0
 Computes the regions starting from a position in an image.
 

Detailed Description

Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler.

Constructor & Destructor Documentation

◆ ~TrackerSamplerAlgorithm()

virtual cv::detail::tracking::TrackerSamplerAlgorithm::~TrackerSamplerAlgorithm ( )
virtual

Member Function Documentation

◆ sampling()

virtual bool cv::detail::tracking::TrackerSamplerAlgorithm::sampling ( const Mat image,
const Rect boundingBox,
std::vector< Mat > &  sample 
)
pure virtual

Computes the regions starting from a position in an image.

Return true if samples are computed, false otherwise

Parameters
imageThe current frame
boundingBoxThe bounding box from which regions can be calculated
sampleThe computed samples [231] Fig. 1 variable Sk

Implemented in cv::detail::tracking::TrackerSamplerCSC, and cv::detail::tracking::TrackerContribSamplerAlgorithm.


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