Instance Segmentation V1

Description

This operator performs instance segmentation on input color images via deep learning. By uploading a pre-trained deep learning model (.pth file), it analyzes the input image and finally outputs data such as the position, category, and confidence score of each identified object.

Overview

Performs instance segmentation on input color images using deep learning.

Scenarios

In scenarios with complex backgrounds or where objects are close to each other or overlapping, it identifies the precise contours of objects and separates each object instance for independent analysis, allowing for the planning of more reliable and fitting picking poses.

Inputs and Outputs

Inputs

Image: A single color image to be segmented.

Outputs

Detection Results: A list containing all successfully identified object instances in the image. Each element in the list represents an object, containing information such as the object’s category, confidence score, bounding box, and contour polygon.

Parameters

Model File

Description

Loads a trained deep learning model for instance segmentation.

Tuning Instructions

Select and upload a model file trained for the current specific application scenario and target objects. The quality of the model directly determines the accuracy and robustness of the results.

Parameter Range

The file format is required to be .pth.

Parameter Range

Values/Range:

  • .pth

Confidence Threshold

Description

Sets the "confidence" threshold for the model’s output results. When identifying each object, the model assigns a score between 0 and 1 indicating how confident it is in that result; only objects with a score above this threshold are output as valid results.

Tuning Instructions

  • Increasing the value: The filtering criterion becomes more stringent. The operator only outputs results the model is highly confident about. This reduces false detections but may cause some genuine targets with indistinct features or partial occlusion to be missed.

  • Decreasing the value: The filtering criterion becomes more lenient. The operator outputs more candidate targets, but may introduce more false detections.

If many non-target objects are being incorrectly output, try increasing this threshold. If obvious targets are not being detected, try decreasing it accordingly.

Parameter Range

[0,1], Default value: 0.9

Parameter Range

Values/Range: [0.0, 1.0]

Default: 0.9

Enable GPU Acceleration

Description

Controls whether the operator uses CPU or GPU for calculation. Since deep learning models have large computational loads, using a GPU can greatly improve processing speed.

Tuning Instructions

  • Disabled (Default): The operator will use the CPU for calculation. Although it has good compatibility and requires no special hardware, processing a single image may take longer, making it unsuitable for scenarios with high speed requirements.

  • Enabled (Recommended): If the local device supports a GPU graphics card, it is recommended to enable this option to significantly improve processing speed.

Parameter Range

Default: False