https://github.com/pd-mera/yolo-data-visualization
Visualize YOLO object detection data to check YOLO label
https://github.com/pd-mera/yolo-data-visualization
data-visualization yolo
Last synced: 12 months ago
JSON representation
Visualize YOLO object detection data to check YOLO label
- Host: GitHub
- URL: https://github.com/pd-mera/yolo-data-visualization
- Owner: PD-Mera
- Created: 2024-04-26T09:07:07.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-03T09:10:44.000Z (over 1 year ago)
- Last Synced: 2025-01-08T19:46:45.054Z (about 1 year ago)
- Topics: data-visualization, yolo
- Language: Python
- Homepage:
- Size: 439 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Visualize and Process YOLO format data
## How to run
### Visualize data
``` bash
pip install opencv-python
python visualize.py --datadir ./data/images/ --classes classes.txt --savename output --number 1 --random
```
### Count labels
``` bash
python count_labels.py --label_dirs /path/to/a/labels /path/to/b/labels --classes /path/to/classes.txt
```
### Remap labels
``` bash
python remap_labels.py --label_dirs /path/to/a/labels /path/to/b/labels --old_classes /path/to/old_classes.txt --new_classes /path/to/new_classes.txt
```
## Demo
| In | Out |
| --- | --- |
|  |  |