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.RelationMetais a metadata describing relation between other analysis meta. It’s more efficient to useGstAnalytics.buffer_add_analytics_relation_meta_fulland 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.Bufferinit_params (
GstAnalytics.RelationMetaInitParams) – Initialization parameters
- Returns:
 Newly attached
GstAnalytics.RelationMeta- Return type:
 
Attache a analysis-results relation-meta (
GstAnalytics.RelationMeta) to buffer.A
GstAnalytics.RelationMetais a metadata describing relation between other analysis meta.New in version 1.24.
- GstAnalytics.buffer_add_tensor_meta(buffer)¶
 - Parameters:
 buffer (
Gst.Buffer) – A writableGst.Buffer- Returns:
 The new
GstAnalytics.TensorMeta- Return type:
 
Adds a
GstAnalytics.TensorMetato a buffer or returns the existing oneNew in version 1.26.
- GstAnalytics.buffer_get_analytics_relation_meta(buffer)¶
 - Parameters:
 buffer (
Gst.Buffer) – aGst.Buffer- Returns:
 The
GstAnalytics.RelationMetaif there is one- Return type:
 
Retrives the meta or
Noneif it doesn’t existNew in version 1.24.
- GstAnalytics.buffer_get_tensor_meta(buffer)¶
 - Parameters:
 buffer (
Gst.Buffer) – AGst.Buffer- Returns:
 The
GstAnalytics.TensorMetaif there is wone- Return type:
 
Gets the
GstAnalytics.TensorMetafrom a bufferNew in version 1.26.
- GstAnalytics.cls_mtd_get_mtd_type()¶
 - Returns:
 opaque id of
GstAnalytics.Mtdtype- Return type:
 
Get an id identifying
GstAnalytics.Mtdtype.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.Mtdtype- 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.
- GstAnalytics.segmentation_mtd_get_mtd_type()¶
 - Returns:
 A #GstAnalyticsMtdType type
- Return type:
 
Get an instance of #GstAnalyticsMtdType that represent segmentation metadata type.
New in version 1.26.