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 |
|
|
Port Format (Caps) |
|
|
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.

Pipeline sample:
1 2 3 4 5 6 7 |
"mxpi_channelselector0":{ "props":{ "channelIds":"0,1" }, "factory":"mxpi_channelselector", "next":"queue4" }, |
Parent topic: On-Screen Display (OSD) Plugins