| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Public Member Functions | List of all members
cv::detail::tracking::TrackerSamplerAlgorithm Class Referenceabstract
Tracking API » Tracking API implementation details

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

  image | The current frame
  boundingBox | The bounding box from which regions can be calculated
  sample | The computed samples [233] Fig. 1 variable Sk

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

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

- opencv2/video/detail/tracking.detail.hpp