https://github.com/trsvchn/coco-viewer
Minimalistic COCO Dataset Viewer in Tkinter
https://github.com/trsvchn/coco-viewer
bbox bounding-boxes coco coco-viewer computer-vision hacktoberfest masks object-detection viewer
Last synced: about 1 month ago
JSON representation
Minimalistic COCO Dataset Viewer in Tkinter
- Host: GitHub
- URL: https://github.com/trsvchn/coco-viewer
- Owner: trsvchn
- License: mit
- Created: 2019-04-01T20:38:05.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T11:46:37.000Z (about 1 year ago)
- Last Synced: 2025-04-02T11:02:41.210Z (about 2 months ago)
- Topics: bbox, bounding-boxes, coco, coco-viewer, computer-vision, hacktoberfest, masks, object-detection, viewer
- Language: Python
- Homepage:
- Size: 599 KB
- Stars: 190
- Watchers: 4
- Forks: 62
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COCO Viewer
Simple COCO Objects Viewer in Tkinter. Allows quick viewing on local machine.

## Keyboard Shortcuts
| Key | Action |
|:-:|:-:|
| →, J | Next Image |
| ←, K | Previous Image |
| L, Ctrl + L | Toggle **L**abels |
| B, Ctrl + B | Toggle **B**oxes |
| M, Ctrl + M | Toggle **M**asks |
| Ctrl + S | Save Current Image |
| Ctrl + Q, Ctrl + W | Exit Viewer |## Requirements
`python3` `PIL`## Installation
```
git clone https://github.com/trsvchn/coco-viewer.git
```## Usage
```bash
python cocoviewer.py -husage: 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
```## Example:
```bash
python cocoviewer.py -i coco/images/val/val2017 -a coco/annotations/val/instances_val2017.json
```