Simple COCO Objects Viewer in Tkinter. Allows quick viewing on local machine.
Key | Action |
---|---|
→, J | Next Image |
←, K | Previous Image |
L, Ctrl + L | Toggle Labels |
B, Ctrl + B | Toggle Boxes |
M, Ctrl + M | Toggle Masks |
Ctrl + S | Save Current Image |
Ctrl + Q, Ctrl + W | Exit Viewer |
python3
PIL
git clone https://github.com/trsvchn/coco-viewer.git
python cocoviewer.py -h
usage: cocoviewer.py [-h] [-i PATH] [-a PATH]
View images with bboxes from the COCO dataset
optional arguments:
-h, --help show this help message and exit
-i PATH, --images PATH path to images folder
-a PATH, --annotations PATH path to annotations json file
python cocoviewer.py -i coco/images/val/val2017 -a coco/annotations/val/instances_val2017.json