GstAnalyticsTrackingMtd
This type of metadata holds tracking information. In many cases, it is desired to track an object across many frames. This type of metadata holds information about the tracking, for example, it can be used alongside a GstAnalyticsODMtd to track an object.
GstAnalyticsTrackingMtd
Store information on results of object tracking
Members
id
(guint)
–
meta
(GstAnalyticsRelationMeta *)
–
Since : 1.24
GstAnalytics.TrackingMtd
Store information on results of object tracking
Members
id
(Number)
–
meta
(GstAnalytics.RelationMeta)
–
Since : 1.24
GstAnalytics.TrackingMtd
Store information on results of object tracking
Members
id
(int)
–
meta
(GstAnalytics.RelationMeta)
–
Since : 1.24
Methods
gst_analytics_tracking_mtd_get_info
gboolean gst_analytics_tracking_mtd_get_info (const GstAnalyticsTrackingMtd * instance, guint64 * tracking_id, GstClockTime * tracking_first_seen, GstClockTime * tracking_last_seen, gboolean * tracking_lost)
Retrieve tracking information.
Parameters:
instance
–
Instance of tracking metadata
tracking_id
(
[out])
–
Updated tracking id
tracking_first_seen
(
[out])
–
Updated timestamp of the tracking first observation.
tracking_last_seen
(
[out])
–
Updated timestamp of the tracking last observation.
tracking_lost
(
[out])
–
Has the tracking been lost
Successfully retrieved info.
Since : 1.24
GstAnalytics.TrackingMtd.prototype.get_info
function GstAnalytics.TrackingMtd.prototype.get_info(): {
// javascript wrapper for 'gst_analytics_tracking_mtd_get_info'
}
Retrieve tracking information.
Parameters:
Instance of tracking metadata
Returns a tuple made of:
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Since : 1.24
GstAnalytics.TrackingMtd.get_info
def GstAnalytics.TrackingMtd.get_info (self):
#python wrapper for 'gst_analytics_tracking_mtd_get_info'
Retrieve tracking information.
Parameters:
Instance of tracking metadata
Returns a tuple made of:
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Successfully retrieved info.
Since : 1.24
gst_analytics_tracking_mtd_set_lost
gboolean gst_analytics_tracking_mtd_set_lost (GstAnalyticsTrackingMtd * instance)
Parameters:
instance
–
Instance of GstAnalyticsTrackingMtd. Set tracking to lost
Update successful
Since : 1.24
GstAnalytics.TrackingMtd.prototype.set_lost
function GstAnalytics.TrackingMtd.prototype.set_lost(): {
// javascript wrapper for 'gst_analytics_tracking_mtd_set_lost'
}
Parameters:
Instance of GstAnalyticsTrackingMtd. Set tracking to lost
Update successful
Since : 1.24
GstAnalytics.TrackingMtd.set_lost
def GstAnalytics.TrackingMtd.set_lost (self):
#python wrapper for 'gst_analytics_tracking_mtd_set_lost'
Parameters:
Instance of GstAnalyticsTrackingMtd. Set tracking to lost
Update successful
Since : 1.24
gst_analytics_tracking_mtd_update_last_seen
gboolean gst_analytics_tracking_mtd_update_last_seen (GstAnalyticsTrackingMtd * instance, GstClockTime last_seen)
Parameters:
instance
–
GstAnalyticsTrackingMtd instance
last_seen
–
Timestamp of last time this object was tracked
Since : 1.24
GstAnalytics.TrackingMtd.prototype.update_last_seen
function GstAnalytics.TrackingMtd.prototype.update_last_seen(last_seen: Number): {
// javascript wrapper for 'gst_analytics_tracking_mtd_update_last_seen'
}
Parameters:
GstAnalyticsTrackingMtd instance
Timestamp of last time this object was tracked
Since : 1.24
GstAnalytics.TrackingMtd.update_last_seen
def GstAnalytics.TrackingMtd.update_last_seen (self, last_seen):
#python wrapper for 'gst_analytics_tracking_mtd_update_last_seen'
Parameters:
GstAnalyticsTrackingMtd instance
Timestamp of last time this object was tracked
Since : 1.24
Functions
gst_analytics_tracking_mtd_get_mtd_type
GstAnalyticsMtdType gst_analytics_tracking_mtd_get_mtd_type ()
id representing the type of GstAnalyticsRelatableMtd
Get the opaque id identifying the relatable type
Since : 1.24
GstAnalytics.TrackingMtd.prototype.get_mtd_type
function GstAnalytics.TrackingMtd.prototype.get_mtd_type(): {
// javascript wrapper for 'gst_analytics_tracking_mtd_get_mtd_type'
}
id representing the type of GstAnalyticsRelatableMtd
Get the opaque id identifying the relatable type
Since : 1.24
GstAnalytics.TrackingMtd.get_mtd_type
def GstAnalytics.TrackingMtd.get_mtd_type ():
#python wrapper for 'gst_analytics_tracking_mtd_get_mtd_type'
id representing the type of GstAnalyticsRelatableMtd
Get the opaque id identifying the relatable type
Since : 1.24
The results of the search are