Skip to main content

labelImg++ is an enhanced graphical image annotation tool with Gallery Mode for browsing and labeling images

Project description

A modern, enhanced image annotation tool for machine learning

https://img.shields.io/pypi/v/labelImgPlusPlus.svg https://img.shields.io/pypi/dm/labelImgPlusPlus.svg https://github.com/abhiksark/labelImg-plus-plus/actions/workflows/ci.yaml/badge.svg https://img.shields.io/badge/python-3.6+-blue.svg https://img.shields.io/badge/license-MIT-green.svg

labelImg++ is a powerful graphical image annotation tool for creating bounding box labels, designed for machine learning and computer vision projects. Forked from the original LabelImg with significant enhancements.

Note: Current version is 2.0.0b (beta). Version 2.0.0 will be the first stable release.

labelImg++ Screenshot

Features

Core Annotation Features

  • Multi-format support: PASCAL VOC (XML), YOLO (TXT), CreateML (JSON)

  • Bounding box annotation with drag-and-drop interface

  • Auto-save mode for uninterrupted workflow

  • Predefined class labels with customizable list

  • Verification system to mark completed annotations

New in labelImg++ v2.0.0a

Undo/Redo Support

Full undo/redo for all annotation actions. Press Ctrl+Z to undo and Ctrl+Y to redo. Never lose your work again!

Gallery Mode with Annotation Preview

Visual thumbnail gallery showing all images with bounding box overlays directly on thumbnails.

  • Colored borders indicate status: Gray (no labels), Blue (has labels), Green (verified)

  • Bounding boxes visible on thumbnails for quick review

  • Adjustable thumbnail size (40px - 300px)

  • Press Ctrl+G to toggle gallery mode

Modern UI with Feather Icons

Clean, modern interface with beautiful Feather icons and improved visual design.

Responsive DPI Scaling

Icons and UI elements scale properly on high-DPI displays (4K, Retina).

Expandable Toolbar

Click the chevron at the bottom of the toolbar to expand/collapse and show full button labels.

Consolidated File Menu

Open File, Open Dir, and Change Save Dir combined into a single dropdown for cleaner toolbar.

Brightness Adjustment

Adjust image brightness on-the-fly to better see annotations on dark or light images.

Installation

Build from Source

Ubuntu/Linux:

sudo apt-get install pyqt5-dev-tools
pip3 install -r requirements/requirements-linux-python3.txt
make qt5py3
python3 labelImg.py

macOS:

pip3 install pyqt5 lxml
make qt5py3
python3 labelImg.py

Windows:

pip install pyqt5 lxml
pyrcc5 -o libs/resources.py resources.qrc
python labelImg.py

Quick Start

  1. Open images: Click the file dropdown button or press Ctrl+U to load a directory

  2. Create annotations: Press W or click Create RectBox, then drag to draw

  3. Label objects: Select a class from the popup dialog

  4. Save: Press Ctrl+S to save annotations

  5. Navigate: Use D (next) and A (previous) to move between images

  6. Review: Press Ctrl+G for gallery mode to review all annotations

Supported Annotation Formats

Format

Extension

Description

PASCAL VOC

.xml

ImageNet format, absolute coordinates

YOLO

.txt

Normalized coordinates (0-1), with classes.txt for class names

CreateML

.json

Apple’s ML format for iOS/macOS

Keyboard Shortcuts

File Operations

Ctrl + O

Open file

Ctrl + U

Open directory

Ctrl + R

Change save directory

Ctrl + S

Save current annotation

Ctrl + Shift + S

Save as

Navigation

D

Next image

A

Previous image

Ctrl + G

Toggle Gallery Mode

Annotation

W

Create bounding box

Ctrl + Z

Undo

Ctrl + Y

Redo

Ctrl + D

Duplicate selected box

Del

Delete selected box

Space

Mark image as verified

Arrow keys

Move selected box

View

Ctrl + +

Zoom in

Ctrl + -

Zoom out

Ctrl + F

Fit window

Ctrl + Shift + F

Fit width

Configuration

Predefined Classes

Edit data/predefined_classes.txt to customize the label options:

dog
cat
person
car
bicycle

Reset Settings

If you encounter issues, reset the settings:

rm ~/.labelImgSettings.pkl

Or use Menu > File > Reset All

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

License

MIT License

Based on LabelImg by Tzutalin.

Author

Maintained by Abhik Sarkar

Acknowledgments

  • Original LabelImg by Tzutalin

  • Feather Icons for modern iconography

  • All contributors and users of labelImg++

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

labelimgplusplus-2.0.0b0.tar.gz (130.4 kB view details)

Uploaded Source

Built Distribution

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

labelimgplusplus-2.0.0b0-py3-none-any.whl (134.3 kB view details)

Uploaded Python 3

File details

Details for the file labelimgplusplus-2.0.0b0.tar.gz.

File metadata

  • Download URL: labelimgplusplus-2.0.0b0.tar.gz
  • Upload date:
  • Size: 130.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for labelimgplusplus-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 b5f98ba8d810d03a787cd2482f7f9a8ba5eaf4aa11acc530973c014a226e581b
MD5 6ca16cb9c38f7aff18d47461cd37de0e
BLAKE2b-256 2e94fc0291f7b905c59ca580fd366b8992bdb7bbf4356340205208e50483469d

See more details on using hashes here.

Provenance

The following attestation bundles were made for labelimgplusplus-2.0.0b0.tar.gz:

Publisher: ci.yaml on abhiksark/labelImg-plus-plus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file labelimgplusplus-2.0.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for labelimgplusplus-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5fcfc068404f9dcfacbc1446e19682cfe92674f27f1fe045dcb327c2db9eb1d
MD5 cd5079b508981d4fa603f7edbbfc389c
BLAKE2b-256 ba4860ac403a8bf95ec3234debbd8c0e231007fa3b4ed825486b1f4d2ef2d8b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for labelimgplusplus-2.0.0b0-py3-none-any.whl:

Publisher: ci.yaml on abhiksark/labelImg-plus-plus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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