mxpi_osdinstancemerger

Function

Summarizes drawing units from multiple input ports.

Synchronous/Asynchronous (Status)

Synchronous

Constraints

-

Plugin Base Class (Factory)

mxpi_osdinstancemerger

Input/Output

Input: buffer (data type: MxpiBuffer) and metadata (data type: MxOsdInstancesList). Number of dynamic inputs.

Output: buffer (data type: MxpiBuffer) and metadata (data type: MxOsdInstancesList).

Port Format (Caps)

Dynamic input: {"metadata/osd"}

Static output: {"metadata/osd"}

Property

For details, see Table 1.

Table 1 mxpi_osdinstancemerger plugin properties

Property Name

Description

Mandatory or Not

Modifiable or Not

dataSourceList

Index names of the input data, which are separated by commas (,). The index length must be consistent with the input port number. The default value is the key of the metadata mounted to the output port of the upstream plugin.

No

Yes

Pipeline sample:
"mxpi_osdinstancemerger0":{
    "props":{
	"dataSourceList":"mxpi_class2osdinstances0,mxpi_object2osdinstances0"
    },
    "factory":"mxpi_osdinstancemerger",
    "next":"queue20"
},