GstAnalyticsTextMtd

This type of metadata stores UTF-8 text and its confidence level. It can be used for image/video-to-text and audio-to-text inference.

GstAnalyticsTextMtd only stores text-related information. Additional information such as a bounding box can be represented by other metadata types such as GstAnalyticsODMtd and associated with the text metadata using GstAnalyticsRelationMeta.

GstAnalyticsTextMtd

Handle containing data required to use gst_analytics_text_mtd APIs. This type is generally expected to be allocated on the stack.

Members

id (guint) –

Instance identifier.

Instance of GstAnalyticsRelationMeta where the analytics-metadata identified by id is stored.

Since : 1.30


GstAnalytics.TextMtd

Handle containing data required to use gst_analytics_text_mtd APIs. This type is generally expected to be allocated on the stack.

Members

id (Number) –

Instance identifier.

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

Since : 1.30


GstAnalytics.TextMtd

Handle containing data required to use gst_analytics_text_mtd APIs. This type is generally expected to be allocated on the stack.

Members

id (int) –

Instance identifier.

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

Since : 1.30


Methods

gst_analytics_text_mtd_get_confidence

gfloat
gst_analytics_text_mtd_get_confidence (const GstAnalyticsTextMtd * mtd)

Gets the confidence level of the text stored in mtd.

Parameters:

Returns

the confidence level

Since : 1.30


GstAnalytics.TextMtd.prototype.get_confidence

function GstAnalytics.TextMtd.prototype.get_confidence(): {
    // javascript wrapper for 'gst_analytics_text_mtd_get_confidence'
}

Gets the confidence level of the text stored in mtd.

Parameters:

Returns (Number)

the confidence level

Since : 1.30


GstAnalytics.TextMtd.get_confidence

def GstAnalytics.TextMtd.get_confidence (self):
    #python wrapper for 'gst_analytics_text_mtd_get_confidence'

Gets the confidence level of the text stored in mtd.

Parameters:

Returns (float)

the confidence level

Since : 1.30


gst_analytics_text_mtd_get_length

gsize
gst_analytics_text_mtd_get_length (const GstAnalyticsTextMtd * mtd)

Gets the length in bytes of the UTF-8 text stored in mtd, excluding the terminating nul byte.

Parameters:

Returns

the length of the text in bytes

Since : 1.30


GstAnalytics.TextMtd.prototype.get_length

function GstAnalytics.TextMtd.prototype.get_length(): {
    // javascript wrapper for 'gst_analytics_text_mtd_get_length'
}

Gets the length in bytes of the UTF-8 text stored in mtd, excluding the terminating nul byte.

Parameters:

Returns (Number)

the length of the text in bytes

Since : 1.30


GstAnalytics.TextMtd.get_length

def GstAnalytics.TextMtd.get_length (self):
    #python wrapper for 'gst_analytics_text_mtd_get_length'

Gets the length in bytes of the UTF-8 text stored in mtd, excluding the terminating nul byte.

Parameters:

Returns (int)

the length of the text in bytes

Since : 1.30


gst_analytics_text_mtd_get_text

const gchar *
gst_analytics_text_mtd_get_text (const GstAnalyticsTextMtd * mtd)

Gets the text stored in mtd.

Parameters:

Returns ( [transfer: none])

the UTF-8 text stored in mtd

Since : 1.30


GstAnalytics.TextMtd.prototype.get_text

function GstAnalytics.TextMtd.prototype.get_text(): {
    // javascript wrapper for 'gst_analytics_text_mtd_get_text'
}

Gets the text stored in mtd.

Parameters:

Returns (String)

the UTF-8 text stored in mtd

Since : 1.30


GstAnalytics.TextMtd.get_text

def GstAnalytics.TextMtd.get_text (self):
    #python wrapper for 'gst_analytics_text_mtd_get_text'

Gets the text stored in mtd.

Parameters:

Returns (str)

the UTF-8 text stored in mtd

Since : 1.30


Functions

gst_analytics_text_mtd_get_mtd_type

GstAnalyticsMtdType
gst_analytics_text_mtd_get_mtd_type ()

Since : 1.30


GstAnalytics.TextMtd.prototype.get_mtd_type

function GstAnalytics.TextMtd.prototype.get_mtd_type(): {
    // javascript wrapper for 'gst_analytics_text_mtd_get_mtd_type'
}
Returns (Number)

the Number of GstAnalytics.TextMtd

Since : 1.30


GstAnalytics.TextMtd.get_mtd_type

def GstAnalytics.TextMtd.get_mtd_type ():
    #python wrapper for 'gst_analytics_text_mtd_get_mtd_type'
Returns (int)

the int of GstAnalytics.TextMtd

Since : 1.30


The results of the search are