CLI utility for augmentation and preprocessing images.
$ pip install distortme
Install poetry to build package
$ pip install poetry
Clone repo to your local machine
$ git clone https://github.com/rahowa/distortme.git
Now install package to local enviroment with poetry
$ cd distortme
$ poetry install
Check installation
$ distortme --help
Commands:
distortme info
Get info about certain datasetdistortme unpack
Unpack any archive with one commanddistortme show
Show image inside terminal for fast checkingdistortme augs
Perform augmentations for images before trainingdistortme voc2coco
Convert PASCAL VOC dataset format to COCO formatdistortme coco2voc
Convert COCO dataset format to PASCAL VOC formatdistortme split
Sort by folders images with certain descriptor in namedistortme map
Apply custom dataset preprosesing with multiple prosessesdistortme torle
distortme fromrle
Convert segmentation masks to RLE-encoding and backdistortme tohd5
distortme fromhd5
Compress dataset to HDF5 format and decompress backdistortme download
Allows to download most popular datasets to given folder without any codedistortme label
Create labels forFace detection
,Object detection
[IN PROGRESS] andClassification
[IN PROGRESS] tasks for your custom dataset
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
For more information check DOCS.md file
Use distortme
as a regular CLI app:
$ distortme [OPTIONS] COMMAND [ARGS]...