mxpi_imageencoder
Function |
Encodes images. |
|---|---|
Synchronous/Asynchronous (Status) |
Asynchronous |
Constraints |
|
Plugin Base Class (Factory) |
mxpi_imageencoder |
Input/Output |
Input: buffer (data type: MxpiBuffer) and metadata (data type: MxpiVisionList, MxpiFrame, or MxpiVision) Output: buffer (data type: MxpiBuffer) |
Port Format (Caps) |
Static input: {"ANY"} Static output: {"ANY"} |
Property |
For details, see Table 1. |
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
deviceId |
Ascend device ID, which is specified by the deviceId property in the stream_config field. You do not need to set the ID. |
No |
Yes |
dataSource |
Index of the input data (generally the name of the upstream element). The default value is the key value of the output port of the upstream plugin. |
No |
Yes |
encodeLevel |
Encoding level.
NOTE:
|
No |
Yes |