OpenCV
4.5.5
Open Source Computer Vision
|
Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler. More...
#include <opencv2/video/detail/tracking.detail.hpp>
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. More... | |
Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler.
|
virtual |
|
pure virtual |
Computes the regions starting from a position in an image.
Return true if samples are computed, false otherwise
image | The current frame |
boundingBox | The bounding box from which regions can be calculated |
sample | The computed samples [211] Fig. 1 variable Sk |
Implemented in cv::detail::tracking::TrackerContribSamplerAlgorithm, and cv::detail::tracking::TrackerSamplerCSC.