Struct Tracklet
Defined in File Tracklets.hpp
Struct Documentation
-
struct Tracklet
Tracklet structure
Contains tracklets from object tracker output.
Public Types
-
enum class TrackingStatus : std::int32_t
Values:
-
enumerator NEW
The object is newly added.
-
enumerator TRACKED
The object is being tracked.
-
enumerator LOST
The object gets lost now. The object can be tracked again automatically(long term tracking) or by specifying detected object manually(short term and zero term tracking).
-
enumerator REMOVED
The object is removed.
-
enumerator NEW
Public Functions
Public Members
-
std::int32_t age = 0
Number of frames it is being tracked for.
-
TrackingStatus status = TrackingStatus::LOST
Status of tracklet.
-
ImgDetection srcImgDetection
Image detection that is tracked.
-
std::optional<Point3f> velocity
Estimated 3D velocity of the tracklet in m/s. nullopt when spatial data is unavailable.
-
std::optional<float> speed
Magnitude of the estimated 3D velocity in m/s. nullopt when spatial data is unavailable.
-
enum class TrackingStatus : std::int32_t