Skip to content

A simple tool for labeling object bounding boxes in images Python 3.X

License

Notifications You must be signed in to change notification settings

izolot/BBox-Label-Tool-Python3.x

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBox-Label-Tool

A simple tool for labeling object bounding boxes in images, implemented with Python Tkinter for Python 3.X.

-- For convert label to yolo notation(format), enable the checkbox 'Save to YOLO format' Do not use two formats in one image!

-- For multi-class task, modify 'class.txt' with your own class-candidates and before labeling bbox, choose the 'Current Class' in the Combobox and make sure you click 'ComfirmClass' button.

Screenshot: Label Tool

Environment

  • python 3.X
  • python PIL (Pillow)

Run

$ python main.py

Usage

  1. Chose a folder click Open folder. The images in the folder, along with a few example results will be loaded.
  2. To create a new bounding box, left-click to select the first vertex. Moving the mouse to draw a rectangle, and left-click again to select the second vertex.
  • To cancel the bounding box while drawing, just press <Esc>.
  • To delete a existing bounding box, select it from the listbox, and click Delete.
  • To delete all existing bounding boxes in the image, simply click ClearAll.
  1. After finishing one image, click Next to advance. Likewise, click Prev to reverse. Or, input an image id and click Go to navigate to the speficied image.
  • Be sure to click Next after finishing a image, or the result won't be saved.
  1. If you want to convert label to yolo notation(format), enable the checkbox 'Save to YOLO format' Do not use two formats in one image!
  2. For multi-class task, modify 'class.txt' with your own class-candidates and before labeling bbox, choose the 'Current Class' in the Combobox and make sure you click 'ComfirmClass' button.

About

A simple tool for labeling object bounding boxes in images Python 3.X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%