forked from Cartucho/OpenLabeling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
169 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,73 @@ | ||
# openbbox | ||
# YOLO v2 Bounding Box Tool | ||
|
||
Feel free to contribute! | ||
[](https://github.com/Cartucho/yolo-boundingbox-labeler-GUI/commits/master) | ||
[](https://github.com/Cartucho/yolo-boundingbox-labeler-GUI) | ||
|
||
An open source bounding box tool using OpenCV 3 and Python. | ||
Bounding box labeler tool to generate the training data in the format YOLO v2 requires. | ||
|
||
Easily generate the training data in the format YOLOv2 requires. | ||
<img src="https://media.giphy.com/media/l49JDgDSygJN369vW/giphy.gif" width="40%"><img src="https://media.giphy.com/media/3ohc1csRs9PoDgCeuk/giphy.gif" width="40%"> | ||
<img src="https://media.giphy.com/media/3o752fXKwTJJkhXP32/giphy.gif" width="40%"><img src="https://media.giphy.com/media/3ohc11t9auzSo6fwLS/giphy.gif" width="40%"> | ||
|
||
## Instructions: | ||
## Table of contents | ||
|
||
1. Insert images images in the folder 1.insert_images_here. | ||
1.1 YOLO only accepts .jpg and .jpeg images, other types will be ignored | ||
2. Insert class list in the file 2.insert_class_list_here.txt | ||
3. Run the code: python run_this.py | ||
- [Quick start](#quick-start) | ||
- [Prerequisites](#prerequisites) | ||
- [Run project](#run-project) | ||
- [GUI usage](#gui-usage) | ||
- [Authors](#authors) | ||
|
||
## Quick start | ||
|
||
To start using the YOLO Bounding Box Tool you need to [download the latest release](https://github.com/Cartucho/yolo-boundingbox-labeler-GUI/archive/v1.1.zip) or clone the repo: | ||
|
||
``` | ||
git clone https://github.com/Cartucho/yolo-boundingbox-labeler-GUI | ||
``` | ||
|
||
### Prerequisites | ||
|
||
You need to install: | ||
|
||
- [OpenCV](https://opencv.org/) version >= 3.0 | ||
- [Installation in Windows](https://docs.opencv.org/master/d3/d52/tutorial_windows_install.html) | ||
- [Installation in Linux](https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html) | ||
- [Python](https://www.python.org/downloads/) | ||
|
||
### Run project | ||
|
||
Step by step: | ||
|
||
1. Insert the images in the folder **images/** | ||
2. Insert the class list in the file **class_list.txt** | ||
3. Run the code: | ||
``` | ||
python run.py | ||
``` | ||
4. You can find the bounding box files in the folder **bbox_txt/** | ||
|
||
### GUI usage | ||
|
||
Keyboard, press: | ||
|
||
<img src="https://github.com/Cartucho/yolo-boundingbox-labeler-GUI/blob/master/keyboard_usage.jpg"> | ||
|
||
| Key | Description | | ||
| --- | --- | | ||
| h | help | | ||
| q | quit | | ||
| e | edges | | ||
| a/d | previous/next image | | ||
| s/w | previous/next class | | ||
|
||
|
||
Mouse: | ||
- Use two left clicks to do each bounding box | ||
- Use the middle mouse to zoom in and out | ||
|
||
## Authors | ||
|
||
* **João Cartucho** - Please give me your feedback: [email protected] | ||
|
||
Feel free to contribute | ||
|
||
[](https://github.com/Cartucho/yolo-boundingbox-labeler-GUI/graphs/contributors) |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters