The TrackedObject struct defines properties of detected object.
More...
#include <opencv2/tracking/tracking_by_matching.hpp>
The TrackedObject struct defines properties of detected object.
◆ TrackedObject() [1/2]
cv::tbm::TrackedObject::TrackedObject |
( |
| ) |
|
|
inline |
◆ TrackedObject() [2/2]
cv::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::tbm::TrackedObject::confidence |
Detection confidence level (-1 if N/A).
◆ frame_idx
int cv::tbm::TrackedObject::frame_idx |
Frame index where object was detected (-1 if N/A).
◆ object_id
int cv::tbm::TrackedObject::object_id |
Unique object identifier (-1 if N/A).
◆ rect
Detected object ROI (zero area if N/A).
◆ timestamp
uint64_t cv::tbm::TrackedObject::timestamp |
Timestamp in milliseconds.
The documentation for this struct was generated from the following file: