Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/UniversalDataTool/udt-to-png
Convert UDT files into PNG images (with masks!)
https://github.com/UniversalDataTool/udt-to-png
Last synced: 3 months ago
JSON representation
Convert UDT files into PNG images (with masks!)
- Host: GitHub
- URL: https://github.com/UniversalDataTool/udt-to-png
- Owner: UniversalDataTool
- Created: 2020-08-30T14:50:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T22:02:16.000Z (about 4 years ago)
- Last Synced: 2024-04-14T00:50:01.527Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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-dirOptions:
--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]
```