resize-image

You need to be a Pro member to access the full content of this.

resize-image resizes the image and associated shapes in a JSON:

Usage

As the argument, you can pass either a JSON file or directory of JSON files.

labelmetk resize-image [OPTIONS] FILE_OR_DIR...

Example: Resize image for a JSON file

Pass a JSON file:

labelmetk resize-image small_dataset/2011_000003.json --scale 0.5

Example: Resize image for a directory of JSON files

Pass a directory that contains JSON files:

labelmetk resize-image small_dataset/ --scale 0.5

Download an example dataset from:

small_dataset.zip (389KB)