GstAnalytics.ODMtd¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
id |
r/w |
Instance identifier. |
|
meta |
r/w |
Instance of |
Methods¶
class |
|
|
|
|
Details¶
- class GstAnalytics.ODMtd¶
Handle containing data required to use gst_analytics_od_mtd APIs. This type is generally expected to be allocated on the stack.
New in version 1.24.
- classmethod 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.
- get_confidence_lvl()¶
-
Retrieve location confidence level.
New in version 1.24.
- get_location()¶
- Returns:
True
on success, otherwiseFalse
.- x:
x component of upper-left corner of the object location
- y:
y component of upper-left corner of the object location
- w:
bounding box width of the object location
- h:
bounding box height of the object location
- loc_conf_lvl:
Confidence on object location
- Return type:
Retrieve location and location confidence level.
New in version 1.24.