mxpi_channelosdcoordsconverter
|
Function |
Multi-channel coordinate conversion plugin that receives the drawing units and combination information (coordinate offsets) from each channel, and outputs the summarized coordinate conversion result. |
|---|---|
|
Synchronous/Asynchronous (Status) |
Synchronous |
|
Constraints |
The value of channelIds cannot be left blank and must be the same as the value of channelIds set in mxpi_channelimagesstitcher. |
|
Plugin Base Class (Factory) |
mxpi_channelosdcoordsconverter |
|
Input/Output |
|
|
Port Format (Caps) |
|
|
Property |
For details, see Table 1. |
|
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
|
dataSourceStitchInfo |
The image combination information of the OSD combination plugin is used as the index of the input data. The default value is the key value of the output port of the upstream plugin. |
No |
Yes |
|
dataSourceOsds |
Index of the input data of OSD drawing units. Multiple indexes can be configured, but the number of indexes must be the same as that of dynamic input ports. The default value is the key value of the output port of the upstream plugin. |
No |
Yes |
|
channelIds |
Input channel IDs, which are separated by commas (,). Each channel ID must be unique. Example: "channelIds":"0,1" |
Yes |
Yes |
|
enableFixedArea |
Whether to make the fixedArea parameter in the OSD instance take effect (the instance does not resize when the image is resized). The value is of the Boolean type. The default value is 1.
|
No |
Yes |
Example
Input the multi-channel drawing unit buffers (MxpiOsdInstancesList) 1-N and the combination information (MxpiVisionList) from the upstream plugin, and output the OSD drawing unit buffers summarized by a specified channel after buffers of other channels are filtered out.

Pipeline sample:
1 2 3 4 5 6 7 8 |
"mxpi_channelosdcoordsconverter0":{ "props":{ "dataSource":"mxpi_channelimagesstitcher0_1", "channelIds":"0,1" }, "factory":"mxpi_channelosdcoordsconverter", "next":"mxpi_aicpuosd0:1" }, |