https://github.com/lionleaf/mastertools
https://github.com/lionleaf/mastertools
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lionleaf/mastertools
- Owner: lionleaf
- Created: 2016-05-02T16:46:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T20:15:24.000Z (about 10 years ago)
- Last Synced: 2025-04-03T14:46:13.740Z (over 1 year ago)
- Language: Python
- Size: 36.1 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastertools
Collection of useful python scripts.
## Evaluate detections
Creates two output files `good_list` and `bad_list`,
where `good_list` contains images where more than one box was predicted correctly.
`bad_list` contains images where no boxes were correctly predicted.
```
python evaluate_detections.py recall
```
or
```
python evaluate_detections.py valid
```
## Image View
Open one image to inspect its labels:
```
python imageview.py data/images/image.jpg
```
Open a folder to browse all its images:
```
python imageview.py data/images/
```
Open a list of images from a txt-file:
```
python imageview.py good_list.txt
```
### Browse good/bad detections:
This is easier than using `evaluate_detections` directly.
```
python imageview.py good
python imageview.py bad
```
Example:
```
python imageview.py good exp_wide_graybg_manymodel kitti
```