Skip to content

UniversalDataTool/udt-to-png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDT to PNG

Currently, this is just for NodeJS, but porting it to the browser should be possible if there's a way to convert an SVG to a PNG in-browser. PRs welcome!

Converts UDT image files into PNGs, suitable for use in machine learning tasks.

Installation

npm install -g udt-to-png

Usage

Usage: udt-to-png path/to/dataset.udt.json -o output-masks-dir

Options:
  --help               Show help                                       [boolean]
  --version            Show version number                             [boolean]
  --use-sample-number  Use the number of the sample as the mask filename
                       (sample0001.mask.png, etc.)
  --output-dir, -o     Output directory for masks                     [required]

About

Convert UDT files into PNG images (with masks!)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published