mxpi_nmsoverlapedroiV2

Function

Filters repeated objects in the overlapping area after block division. The differences between this version and the previous version are as follows:
  • In the V2 version, the plugin uses dual input ports instead of single input ports.
  • Some property names are modified. dataSource is changed to dataSourceDetection, and blockName is changed to dataSourceBlock. dataSourceDetection and dataSourceBlock can be automatically configured.

Constraints

Port 0 inputs the block information data, and port 1 inputs the detected target bounding box data.

Plugin Base Class (Factory)

mxpi_nmsoverlapedroiV2

Input/Output

Input: metadata (data type: MxpiObjectList)

Output: metadata (data type: MxpiObjectList)

Port Format (Caps)

Static input: {"metadata/object"}

Static output: {"metadata/object"}

Property

For details, see Table 1.

Table 1 mxpi_nmsoverlapedroiV2 plugin properties

Property Name

Description

Mandatory or Not

Modifiable or Not

dataSourceDetection

Obtains the index of the object bounding box after object detection. The default value is the key value of the output port corresponding to the upstream plugin.

No

Yes

dataSourceBlock

Obtains the index of the block bounding box. The default value is the key value of the output port corresponding to the upstream plugin.

No

Yes

nmsThreshold

Sets the NMS calculation threshold. The default value is 0.45. The value ranges from 0 to 1.

No

Yes