Detection and Segmentation

Description

This operator performs object detection, instance segmentation, or oriented object detection on input color images, and supports model files in epicdl and epicdlw formats.

Overview

Uses deep-learning models for detection, segmentation, and oriented detection in color images.

Scenarios

  • Object Detection: Quickly localizes and identifies multiple objects in an image, outputting their bounding boxes and categories. Suitable for part recognition, defect localization, item counting, etc.

  • Instance Segmentation: Based on object detection, it further generates precise pixel-level segmentation masks (contours) for each identified object instance. Suitable for scenarios requiring precise shape information, such as grasp localization, area measurement, etc.

  • Oriented Object Detection: Detects objects with arbitrary orientations and outputs rotated bounding boxes and their angles that closely enclose the objects. Suitable for detecting tilted or arbitrarily placed objects.

Inputs and Outputs

Inputs

Image: The color image to be detected or segmented (requires RGB format). Currently, only single image input is supported.

Outputs

Detection Results: A list containing detection/segmentation results.

Parameters

Initialization Parameters

Weight File

Description

Selects the model file used for detection, segmentation, or oriented detection.

Tuning Instructions

The model must be compatible with the task and selected inference device.

Parameter Range

Options: .zip, .pt, .onnx, .epicnn, .epicdl, .epicdlw

Parameter Range

Values/Range:

  • .zip

  • .pt

  • .onnx

  • .epicnn

  • .epicdl

  • .epicdlw

Inference Platform

Description

Selects the compute device used for model inference.

Tuning Instructions

CPU uses the processor; CUDA GPU requires an available CUDA environment.

Parameter Range

Options: CPU, CUDA GPU, Default: CPU

Parameter Range

Values/Range:

  • CPU

  • CUDA GPU

Default: CPU

Accuracy

Description

Selects the inference image-size preset.

Tuning Instructions

Standard uses an inference image size of 640; Refined uses 1280.

Parameter Range

Options: Standard, Refined, Default: Standard

Parameter Range

Values/Range:

  • Standard

  • Refined

Default: Standard

Run Parameters

Confidence Threshold

Description

Sets the minimum confidence for detection results.

Tuning Instructions

At runtime, this value is passed to the detector for confidence filtering.

Parameter Range

[0.005, 1.0], Default: 0.8

Parameter Range

Values/Range: [0.005, 1.0]

Default: 0.8