|
Function |
Sends data of a specified class or channel to different ports. You can enter the class index or channel index in the configuration file to select the result to be output. |
|---|---|
|
Synchronous/Asynchronous (Status) |
Asynchronous |
|
Constraints |
Currently, data can be distributed by channel ID or class ID. |
|
Plugin Base Class (Factory) |
mxpi_distributor |
|
Input/Output |
|
|
Property |
For details, see Table 1. |
|
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
|
dataSource |
Index of the input data. The default value is the metadata key of the output port corresponding to the upstream plugin. |
No |
Yes |
|
classIds |
Indexes of the class to be output, separated by commas (,). This plugin reorganizes different objects based on the customized classes and distributes them to downstream plugins through different output ports in the class sequence. The downstream plugin uses id of the object distribution plugin as the key to obtain metadata. (id indicates the output port number of the object distribution plugin, which starts from 0 and is incremented by 1.) |
Yes |
Yes |
|
distributeAll |
Whether to distribute data to a port when the port does not have target data. The value can be yes or no (default). |
No. This field is used together with classIds. |
Yes |
|
channelIds |
Indexes of the channel to be output, separated by commas (,). This plugin distributes the buffer to downstream plugins through different output ports in the sequence of channel indexes based on the channels configured by users. |
Yes |
Yes |

