Skip to main content

Tkinter GUI for reviewing and editing YOLO labels.

Project description

image-labeling-yolo

Lightweight Tkinter GUI for reviewing and editing YOLO-format bounding boxes. Point it at your dataset and quickly add, edit, and save labels.

Features

  • Simple, fast GUI for YOLO labels (class id, x_center, y_center, width, height)
  • Keyboard-friendly: A add box, D delete, S save, digits 0–9 to set class
  • Reads class names from yolo_dataset/data.yaml (names: list) when present
  • Works with images under yolo_dataset/images/ and matching labels under yolo_dataset/labels/

Install

pip install image-labeling-yolo

Python 3.9+ is supported. Tkinter must be available in your Python installation (most CPython builds include it by default).

Quick start

  1. Prepare folders (minimal structure):
yolo_dataset/
  images/
    img001.jpg
    img002.jpg
  labels/
    img001.txt   # optional; created on save if missing
    img002.txt
  data.yaml      # optional; provides class names via `names:`
  1. Launch the GUI:
label-review

If you prefer, you can also run:

python -m review_gui
  1. Use the folder pickers (right panel) to select your images/ and labels/ directories if the defaults are not detected.

Usage notes

  • Navigation: Left/Right arrows or N/P
  • Add a box: Press A, then click two opposite corners; drag handles to resize
  • Delete selection: D
  • Save: S (auto-saves when you navigate)
  • Set class: Digits 0–9 (or choose from the dropdown)
  • Class names: Provide a yolo_dataset/data.yaml with a names: list to show readable labels; otherwise numeric IDs are shown

Troubleshooting

  • Tkinter missing: On some Linux distributions you may need to install Tk packages (e.g., sudo apt-get install python3-tk), or use a Python build that includes Tkinter.
  • Headless servers: Run the GUI on a machine with a display or use X forwarding/remote desktop options.

License

MIT

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_labeling_yolo-0.1.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_labeling_yolo-0.1.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file image_labeling_yolo-0.1.2.tar.gz.

File metadata

  • Download URL: image_labeling_yolo-0.1.2.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for image_labeling_yolo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1bd28b04cd4503948bc353a165518d0b276f23b79574056e190d61c95d648ce7
MD5 a10d3b7d5b73c0f1b85a0b37be7b19d7
BLAKE2b-256 9cb547d3c2bb70d0cc9d596f28f4132f15e11b5486edfcd5d1d1b045e56d30c9

See more details on using hashes here.

File details

Details for the file image_labeling_yolo-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for image_labeling_yolo-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c500b75a4fc6c4566c2755b087431e4429cf840497987ef65a0dee6b92f545f
MD5 ba09ecf8050cbf2b10c69d8ebd621a01
BLAKE2b-256 e7bab1525e0612bc7600f9c592671c7c0e8fd52383fcd77c7449f50a440b20f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page