Skip to content

yuzlee/multilabel-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A GUI tool for making multi-label for images

Get Started

setting

{
	"base_dir": "./",
	"data_dir": "picts",
	"label_file": "label_out/labels.json",
	"label_class": {
		"color": "label_def/color_label.json",
		"car_type": {
			"big": {
				"label": 0,
				"desc": "big"
			},
			"small": {
				"label": 1,
				"desc": "small"
			}
		}
	}
}
  • base_dir: the basic directory for all the other path in the setting.
  • data_dir: the directory for image files.
  • label_file: the target path for generated label.
  • label_class: the definition for all labels, supporting a json text or a path of other json file.

label definition

For defining a label we should provide a label_name likes big and an index of it, the desc is optional.

{
	"big": {
		"label": 0,
		"desc": "big"
	},
	"small": {
		"label": 1,
		"desc": "small"
	}
}

transform the out format

The app generates labels of json format, a tool for transformation is necessary.

$ python test.py

About

A GUI tool for making multi-label for images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages