GstAnalyticsOrientationMtd
This metadata item represents the orientation in space of an object
GstAnalyticsOrientationMtd
Handle containing data required to use gst_analytics_orientation_mtd APIs. This type is generally expected to be allocated on the stack.
Members
id
(guint)
–
Instance identifier.
meta
(GstAnalyticsRelationMeta *)
–
Instance of GstAnalyticsRelationMeta where the analytics-metadata identified by id is stored.
Since : 1.30
GstAnalytics.OrientationMtd
Handle containing data required to use gst_analytics_orientation_mtd APIs. This type is generally expected to be allocated on the stack.
Members
id
(Number)
–
Instance identifier.
meta
(GstAnalytics.RelationMeta)
–
Instance of GstAnalytics.RelationMeta where the analytics-metadata identified by id is stored.
Since : 1.30
GstAnalytics.OrientationMtd
Handle containing data required to use gst_analytics_orientation_mtd APIs. This type is generally expected to be allocated on the stack.
Members
id
(int)
–
Instance identifier.
meta
(GstAnalytics.RelationMeta)
–
Instance of GstAnalytics.RelationMeta where the analytics-metadata identified by id is stored.
Since : 1.30
Methods
gst_analytics_orientation_mtd_get_angles
gboolean gst_analytics_orientation_mtd_get_angles (const GstAnalyticsOrientationMtd * handle, gfloat * yaw, gfloat * pitch)
Get orientation angles See gst_analytics_relation_meta_add_orientation_mtd for more details
Parameters:
handle
–
handle
yaw
(
[out])
–
Yaw angle in degrees, with 0 facing forward and increasing to the right
pitch
(
[out])
–
Pitch angle in degrees, with 0 facing forward and increasing upwards
TRUE if successful, FALSE otherwise
Since : 1.30
GstAnalytics.OrientationMtd.prototype.get_angles
function GstAnalytics.OrientationMtd.prototype.get_angles(): {
// javascript wrapper for 'gst_analytics_orientation_mtd_get_angles'
}
Get orientation angles See GstAnalytics.RelationMeta.prototype.add_orientation_mtd for more details
Parameters:
handle
Returns a tuple made of:
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
Since : 1.30
GstAnalytics.OrientationMtd.get_angles
def GstAnalytics.OrientationMtd.get_angles (self):
#python wrapper for 'gst_analytics_orientation_mtd_get_angles'
Get orientation angles See GstAnalytics.RelationMeta.add_orientation_mtd for more details
Parameters:
handle
Returns a tuple made of:
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
Since : 1.30
gst_analytics_orientation_mtd_get_confidence
gboolean gst_analytics_orientation_mtd_get_confidence (const GstAnalyticsOrientationMtd * handle, gfloat * confidence)
Get orientation confidence.
Parameters:
handle
–
handle
confidence
(
[out])
–
Confidence score
TRUE if successful, FALSE otherwise
Since : 1.30
GstAnalytics.OrientationMtd.prototype.get_confidence
function GstAnalytics.OrientationMtd.prototype.get_confidence(): {
// javascript wrapper for 'gst_analytics_orientation_mtd_get_confidence'
}
Get orientation confidence.
Parameters:
handle
Returns a tuple made of:
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
Since : 1.30
GstAnalytics.OrientationMtd.get_confidence
def GstAnalytics.OrientationMtd.get_confidence (self):
#python wrapper for 'gst_analytics_orientation_mtd_get_confidence'
Get orientation confidence.
Parameters:
handle
Returns a tuple made of:
TRUE if successful, FALSE otherwise
TRUE if successful, FALSE otherwise
Since : 1.30
Functions
gst_analytics_orientation_mtd_get_mtd_type
GstAnalyticsMtdType gst_analytics_orientation_mtd_get_mtd_type ()
Get an id identifying GstAnalyticsMtd type.
opaque id of GstAnalyticsMtd type
Since : 1.30
GstAnalytics.OrientationMtd.prototype.get_mtd_type
function GstAnalytics.OrientationMtd.prototype.get_mtd_type(): {
// javascript wrapper for 'gst_analytics_orientation_mtd_get_mtd_type'
}
Get an id identifying GstAnalytics.Mtd type.
opaque id of GstAnalytics.Mtd type
Since : 1.30
GstAnalytics.OrientationMtd.get_mtd_type
def GstAnalytics.OrientationMtd.get_mtd_type ():
#python wrapper for 'gst_analytics_orientation_mtd_get_mtd_type'
Get an id identifying GstAnalytics.Mtd type.
opaque id of GstAnalytics.Mtd type
Since : 1.30
The results of the search are