General Description

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.

Table 1 Plugin properties

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.

  • The plugin properties can be checked using gst-inspect-1.0. Use the actual properties.
  • This document lists only some native properties of the GStreamer plugin. For details, see the GStreamer open source code.

Supported Models

Atlas 200/300/500 inference product

Atlas 200I/500 A2 inference product

Atlas inference product