Semantic Segmentation (png images)

    project_folder
|-- label_classes.json
|-- dataset1_name
    |-- image1.png
    |-- image2.png
    |-- ...
|-- dataset2_name
    |-- image1.png
    |-- image2.png
    |-- ...
|-- ...
    
  

The file contains the definition of all label classes and corresponding pixel values of the images

    [
  {
    "png_index": 1,
    "class_name": "bedclothes",
    "color": "#4df3ce",
    "class_type": "object"
  },
  {
    "png_index": 2,
    "class_name": "building",
    "color": "#4c4ffc",
    "class_type": "object"
  },
  {...},
  {...}
]
    
  

Attributes

png_index integer\
Pixel index

class_name string\
The name of the class

color string\
Associated with the label class color, in format #RRGGBBAA

class_type string Class type, "object" or "background"

All the images contain a single channel and are stored as 8-bit pixels, black and white. 0 - is a background.

Last updated on Dec 21, 2022

Get AI confident. Start using Hasty today.

Automate 90% of the work, reduce your time to deployment by 40%, and replace your whole ML software stack with our platform.

Start for free Request a demo