The Track class describes tracks.
More...
#include <opencv2/tracking/tracking_by_matching.hpp>
The Track class describes tracks.
Track constructor.
- Parameters
-
| objs | Detected objects sequence. |
| last_image | Image of last image in the detected object sequence. |
| descriptor_fast | Fast descriptor. |
| descriptor_strong | Strong descriptor (reid embedding). |
back returns const reference to last object in track.
- Returns
- const reference to last object in track.
back returns non-const reference to last object in track.
- Returns
- non-const reference to last object in track.
| bool cv::tbm::Track::empty |
( |
| ) |
const |
|
inline |
empty returns if track does not contain objects.
- Returns
- true if track does not contain objects.
| const TrackedObject& cv::tbm::Track::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
operator [] return const reference to detected object with specified index.
- Parameters
-
- Returns
- const reference to detected object with specified index.
operator [] return non-const reference to detected object with specified index.
- Parameters
-
- Returns
- non-const reference to detected object with specified index.
| size_t cv::tbm::Track::size |
( |
| ) |
const |
|
inline |
size returns number of detected objects in a track.
- Returns
- number of detected objects in a track.
| cv::Mat cv::tbm::Track::descriptor_fast |
| cv::Mat cv::tbm::Track::descriptor_strong |
Strong descriptor (reid embedding).
Image of last detected object in track.
| size_t cv::tbm::Track::length |
Length of a track including number of objects that were removed from track in order to avoid memory usage growth.
| size_t cv::tbm::Track::lost |
How many frames ago track has been lost.
Rectangle that represents predicted position and size of bounding box if track has been lost.
The documentation for this class was generated from the following file: