Image semantic segmentation
The image semantic segmentation template lets you segment image content, configure questions, and annotate the segmented content.
Data format examples
In CSV and XLSX files, each column corresponds to a dataset field. In Manifest files, each sub-field of the data field corresponds to a dataset field. You can use custom field names and select them when you configure the dataset. Common image formats such as JPG and PNG are supported.
CSV and XLSX formats
image_url |
oss://****.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/1.jpg |
oss://****.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/2.jpg |
For a demo file, see image_semantic_segmentation_data_demo.csv.
Manifest format (JSONL format)
{"data":{"image_url":"oss://****.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/1.jpg"}}
{"data":{"image_url":"oss://****.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/10.jpg"}}
{"data":{"image_url":"oss://****.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/11.jpg"}}
For a demo file, see image_semantic_segmentation_data_demo.manifest.
Configuration
Annotation area (Image) (Required)
Use the Annotation area (Image) to specify the URLs of the images to annotate.
Select Annotation area (Image). In the Configuration area on the right, configure the parameters. The following table describes the parameters.
Parameter |
Description |
Title |
Leave the default title unchanged. |
Dataset field |
Select the dataset field that contains the image URLs to annotate. |
Prompt |
Leave the default prompt unchanged. |
Data pre-processing |
This parameter is not configurable and has no effect. |
Watermark configuration |
This parameter is not configurable and has no effect. |
Connection type |
This parameter is not configurable and has no effect. |
Card style configuration |
This parameter is not configurable and has no effect. |
Question configuration area (Optional)
The question configuration area lets you configure questions for selected image areas.
Select a question type. In the Configuration area on the right, configure the parameters. The following table describes the parameters.
Parameter |
Description |
Title |
The title of the question. |
Options
Note
This parameter is required if the question type is Single-select, Multi-select, or Tree-select. |
|
Placeholder text
Note
This parameter is required if the question type is Single-line text box. |
The placeholder text that guides user input. |
Prompt |
The prompt text that appears when a user hovers over the question title. |
Required |
Specifies whether the question is required. If this option is enabled, an answer is required. |
Enable search for options
Note
This parameter is required if the question type is Single-select or Multi-select. |
If this option is enabled, users can search the options. |
Effective stage |
The stage where the question is effective. If you do not select a stage, the question is effective throughout process by default. |
Demo
Use the cutout tool to select an image area, confirm the new area, and answer the corresponding question. You can configure the questions as needed.
After you finish answering, your answers appear on the right. The background color of each ordinal number matches the color of the corresponding selected area in the image. You can perform the following operations:
Hover over the question area and click
to edit the answer.Correct Mask: Click Correct Mask to modify and save the mask area for the corresponding ID.
Hide/Show: Click Hide/Show to control the visibility of the mask for the corresponding ID.
Delete: Click Delete to delete the form content and the mask area for the corresponding ID.