The TrackedObject struct defines properties of detected object.
More...
#include <opencv2/tracking/tracking_by_matching.hpp>
|
double | confidence |
| Detection confidence level (-1 if N/A).
|
|
int | frame_idx |
| Frame index where object was detected (-1 if N/A).
|
|
int | object_id |
| Unique object identifier (-1 if N/A).
|
|
cv::Rect | rect |
| Detected object ROI (zero area if N/A).
|
|
uint64_t | timestamp |
| Timestamp in milliseconds.
|
|
The TrackedObject struct defines properties of detected object.
◆ TrackedObject() [1/2]
cv::detail::tracking::tbm::TrackedObject::TrackedObject |
( |
| ) |
|
|
inline |
◆ TrackedObject() [2/2]
cv::detail::tracking::tbm::TrackedObject::TrackedObject |
( |
const cv::Rect & | rect, |
|
|
float | confidence, |
|
|
int | frame_idx, |
|
|
int | object_id ) |
|
inline |
Constructor with parameters.
- Parameters
-
rect | Bounding box of detected object. |
confidence | Confidence of detection. |
frame_idx | Index of frame. |
object_id | Object ID. |
◆ confidence
double cv::detail::tracking::tbm::TrackedObject::confidence |
Detection confidence level (-1 if N/A).
◆ frame_idx
int cv::detail::tracking::tbm::TrackedObject::frame_idx |
Frame index where object was detected (-1 if N/A).
◆ object_id
int cv::detail::tracking::tbm::TrackedObject::object_id |
Unique object identifier (-1 if N/A).
◆ rect
cv::Rect cv::detail::tracking::tbm::TrackedObject::rect |
Detected object ROI (zero area if N/A).
◆ timestamp
uint64_t cv::detail::tracking::tbm::TrackedObject::timestamp |
Timestamp in milliseconds.
The documentation for this struct was generated from the following file: