Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler.
More...
#include "tracker.hpp"
Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler.
virtual cv::TrackerSamplerAlgorithm::~TrackerSamplerAlgorithm |
( |
| ) |
|
|
virtual |
Create TrackerSamplerAlgorithm by tracker sampler type.
- Parameters
-
trackerSamplerType | The trackerSamplerType name |
The modes available now:
- "CSC" – Current State Center
- "CS" – Current State
String cv::TrackerSamplerAlgorithm::getClassName |
( |
| ) |
const |
bool cv::TrackerSamplerAlgorithm::sampling |
( |
const Mat & |
image, |
|
|
Rect |
boundingBox, |
|
|
std::vector< Mat > & |
sample |
|
) |
| |
Computes the regions starting from a position in an image.
Return true if samples are computed, false otherwise
- Parameters
-
image | The current frame |
boundingBox | The bounding box from which regions can be calculated |
sample | The computed samples [107] Fig. 1 variable Sk |
virtual bool cv::TrackerSamplerAlgorithm::samplingImpl |
( |
const Mat & |
image, |
|
|
Rect |
boundingBox, |
|
|
std::vector< Mat > & |
sample |
|
) |
| |
|
protectedpure virtual |
String cv::TrackerSamplerAlgorithm::className |
|
protected |
The documentation for this class was generated from the following file:
- /builds/master-contrib_docs-mac/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp