mxpi_channelselector
|
Function |
Transparently transmits buffers of a specified channel ID, filters out buffers of other channels, and clears the metadata except the frame information. |
|---|---|
|
Synchronous/Asynchronous (Status) |
Asynchronous |
|
Constraints |
The value of channelIds cannot be empty. |
|
Plugin Base Class (Factory) |
mxpi_channelselector |
|
Input/Output |
Single input: buffer (data type: MxpiBuffer) Single 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 |
|---|---|---|---|
|
channelIds |
Input channel IDs, which are separated by commas (,). Each channel ID must be unique. Example: "channelIds":"0,1" |
Yes |
Yes |
Example
Input buffers from multiple channels, and output the buffer of the specified channel while filtering out the buffers and metadata of other channels.

"mxpi_channelselector0":{
"props":{
"channelIds":"0,1"
},
"factory":"mxpi_channelselector",
"next":"queue4"
},