Target Object Pose Sorting by Area

Description

Sorts a target object pose list by area and optionally keeps only the top N results.

Overview

Prefer larger or smaller objects when upstream results contain area metadata.

Scenarios

  • When objects of different sizes exist in a bin, sorting can be used to prioritize larger or smaller objects, and to retain the top few targets with the largest (or smallest) area.

Inputs and Outputs

Inputs

Target Object Poses: Pose list with object_info.area.

Draw Scene (Optional): Auxiliary scene input used for visualization.

Outputs

Target Object Poses: Output target object pose list after sorting.

Parameters

Sorting Rule

Description

Define whether sorting is ascending or descending.

Tuning Instructions

  • High to low (default): Descending order.

  • Low to high: Ascending order.

Parameter Range

Values/Range:

  • High to Low

  • Low to High

Default: High to Low

Enable Node

Description

Controls whether this operator executes operations.

Tuning Instructions

  • On (Default): Normally runs this operator’s functionality.

  • Off: The operator does not perform any operations and directly outputs the input data.

Parameter Range

Default: True

Keep All Results

Description

Control whether to output all poses in the list after sorting.

Tuning Instructions

  • Enable (default): Output all poses after sorting.

  • Disable: Output only the top N poses after sorting, where N is determined by the "Number of Results to Keep" parameter.

Parameter Range

Values/Range:

  • True

  • False

Default: True

Number of Results to Keep

Description

After sorting the input results, keep the top n poses. 1 means keep the top 1 pose, 2 means keep the top 2 poses, and so on.

Parameter Range

Parameter Range

Values/Range: [1, 100]

Default: 1