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...
--scale [SCALE]: Scale of image resizing; typically0 < SCALE < 1. It runs withSCALE >= 1, which upscales the image by linear interpolation, but the image quality won't increase, so not recommended.
Example: Resize image for a JSON file
Download an example dataset from:
small_dataset.zip (389KB)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