The plugins implemented in Vision SDK are inherited from MxPluginBase. The plugins start with mxpi_ and contain three public properties (status, deviceId, and dataSource) and GStreamer native properties (parent and name). For details, see Table 1.
Attribute |
Description |
|---|---|
status |
Specifies whether a plugin runs in synchronous or asynchronous mode. The value is of the int type. The value range is [0, 1]. The value 0 (default) indicates asynchronous execution, and the value 1 indicates synchronous execution. Set the value as required. |
deviceId |
Specifies the processor on which a plugin runs. The value is of the int type and is the same as the value of deviceId at the beginning of the pipeline configuration file, by default. Set the value as required. |
dataSource |
Specifies the source of the data processed by a plugin. The value is of the string type and defaults to auto. You can specify the upstream plugin name as the data source. Set the value as required. |
parent |
Native attribute of the GStreamer plugin, indicating the parent object of an element. |
name |
Native attribute of the GStreamer plugin, indicating the element name. |
Atlas inference product