Skip to content

Use pre-trained models to create binary segmentation masks and retrieve polygon annotation in VGG VIA compatible csv format

License

Notifications You must be signed in to change notification settings

clissa/ml-assisted-labeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML-Assisted pre-labeling for VGG Visual Image Annotator

GitHub license GitHub commit

This repository contains some utils to perform ML-assisted labeling compatible with VGG Visual Image Annotator (VIA).

To do this, we need two components:

  • pre-labels: the annotations we want to import into VIA
  • converter: converts from binary masks to polygon annotations compatible with VIA csv format

Pre-labels

For the first point we can exploit a pre-trained model that performs binary segmentation and produces binary masks (see ml-assisted-labeling.py). This is application-specific, so you will need to either adapt the inference mode of your model or start directly from binary masks and proceed with the next step.

Converter

The binary masks are then converted into csv format compatible with VGG VIA (see VGG_VIA_annotations.py). In particular, we target segmentation applications using polygon masks.

About

Use pre-trained models to create binary segmentation masks and retrieve polygon annotation in VGG VIA compatible csv format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages