GstAnalytics.TrackingMtd

Fields

Name

Type

Access

Description

id

int

r/w

Instance identifier.

meta

GstAnalytics.RelationMeta

r/w

Instance of GstAnalytics.RelationMeta where the analysis-metadata identified by id is stored.

Methods

class

get_mtd_type ()

get_info ()

set_lost ()

update_last_seen (last_seen)

Details

class GstAnalytics.TrackingMtd

Store information on results of object tracking

New in version 1.24.

classmethod get_mtd_type()
Returns:

id representing the type of GstAnalyticsRelatableMtd

Get the opaque id identifying the relatable type

Return type:

int

New in version 1.24.

get_info()
Returns:

Successfully retrieved info.

tracking_id:

Updated tracking id

tracking_first_seen:

Updated timestamp of the tracking first observation.

tracking_last_seen:

Updated timestamp of the tracking last observation.

tracking_lost:

Has the tracking been lost

Return type:

(bool, tracking_id: int, tracking_first_seen: int, tracking_last_seen: int, tracking_lost: bool)

Retrieve tracking information.

New in version 1.24.

set_lost()
Returns:

Update successful

Return type:

bool

New in version 1.24.

update_last_seen(last_seen)
Parameters:

last_seen (int) – Timestamp of last time this object was tracked

Return type:

bool

New in version 1.24.