Functions¶
|
|
|
|
|
|
|
|
|
|
Details¶
- GstAnalytics.buffer_add_analytics_relation_meta(buffer)¶
- Parameters:
buffer (
Gst.Buffer
) – aGst.Buffer
- Returns:
Newly attached
GstAnalytics.RelationMeta
- Return type:
Attach a analysis-results-meta-relation meta (
GstAnalytics.RelationMeta
)to buffer.A
GstAnalytics.RelationMeta
is a metadata describing relation between other analysis meta. It’s more efficient to useGstAnalytics.buffer_add_analytics_relation_meta_full
and providing the maximum number of analysis meta that will attached to a buffer.New in version 1.24.
- GstAnalytics.buffer_add_analytics_relation_meta_full(buffer, init_params)¶
- Parameters:
buffer (
Gst.Buffer
) – aGst.Buffer
init_params (
GstAnalytics.RelationMetaInitParams
) – Initialization parameters
- Returns:
Newly attached
GstAnalytics.RelationMeta
- Return type:
Attache a analysis-results relation-meta (
GstAnalytics.RelationMeta
) to buffer.A
GstAnalytics.RelationMeta
is a metadata describing relation between other analysis meta.New in version 1.24.
- GstAnalytics.buffer_get_analytics_relation_meta(buffer)¶
- Parameters:
buffer (
Gst.Buffer
) – aGst.Buffer
- Returns:
The
GstAnalytics.RelationMeta
if there is one- Return type:
Retrives the meta or
None
if it doesn’t existNew in version 1.24.
- GstAnalytics.cls_mtd_get_mtd_type()¶
- Returns:
opaque id of
GstAnalytics.Mtd
type- Return type:
Get an id identifying
GstAnalytics.Mtd
type.New in version 1.24.
- GstAnalytics.mtd_type_get_name(type)¶
-
Gets the string version of the name of this type of analytics data
New in version 1.24.
- GstAnalytics.od_mtd_get_mtd_type()¶
- Returns:
Opaque id of the
GstAnalytics.Mtd
type- Return type:
Get an id that represent object-detection metadata type
New in version 1.24.
- GstAnalytics.relation_get_length(instance)¶
- Parameters:
instance (
GstAnalytics.RelationMeta
) – Instance ofGstAnalytics.RelationMeta
- Returns:
Number of analysis-meta attached to this instance.
- Return type:
Get number of relatable meta attached to instance
New in version 1.24.
- GstAnalytics.relation_meta_api_get_type()¶
- Returns:
- Return type:
New in version 1.24.