Skip to main content

No project description provided

Project description

YOLO Viewer

YOLO Viewer is a PyQt6-based desktop application designed to view images annotated with YOLO (You Only Look Once) object detection labels.
It allows you to easily load a dataset, navigate through images, and visualize the detection boxes overlaid on each image.
You can switch between training and validation sets and navigate through the images using both buttons and keyboard shortcuts.

Features

  • Load a data.yaml file that contains paths to the image dataset.
  • Navigate through images with "Previous" and "Next" buttons or keyboard shortcuts (A/D keys).
  • Toggle between training and validation datasets using a checkbox.
  • Visualize YOLO annotations with bounding boxes on images.
  • Resize images to fit the display area while keeping their aspect ratio.
  • Display class names on the bounding boxes.
  • Support for keyboard shortcuts (A for previous image, D for next image).

Requirements

  • Python 3.6+
  • PyQt6
  • OpenCV
  • NumPy
  • PyYaml
  • A valid YOLO annotation format (data.yaml, images, and annotations)

You can install the required dependencies using the following: pip install PyQt6 opencv-python numpy pyyaml

Installation

build from source

  • Clone the repository or download the code.
  • Navigate to the project directory in your terminal.
  • Run the following command to install the application: pip install -e .

build from pip

pip install vieweryolo

Usage

After installation, you can run the YOLO Viewer by typing the following command in your terminal: vieweryolo

This will open the application window. From there, you can:

  1. Click "Select data.yaml" to load your dataset.
  2. Use the "Previous" and "Next" buttons to navigate through the images.
  3. Toggle between the training and validation datasets using the checkbox.
  4. You can also use the A key to go to the previous image and the D key to go to the next image.

How to Contribute

If you would like to contribute to the project, feel free to fork it, make improvements, and submit a pull request. You can also open issues if you encounter any bugs or have feature requests.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

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

vieweryolo-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

vieweryolo-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file vieweryolo-0.2.0.tar.gz.

File metadata

  • Download URL: vieweryolo-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for vieweryolo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f274996f14321ae312ff8c49b64afae31124fe85c8ccca8b0c943024a4c7bfd5
MD5 9f746c0a7257681717a61f32eb28f658
BLAKE2b-256 a76d894335a414659a9f10649e906995989f089927909496f1283fa7c50b579d

See more details on using hashes here.

File details

Details for the file vieweryolo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vieweryolo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for vieweryolo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06f3c3ff5ee88eecce8a59b8d1b939f59e0b9fe41be70cebe2bbc9f83ab5b007
MD5 41d077538a41292cd61a154eb81fc4cc
BLAKE2b-256 6dfba69c422cc5bacd30de05d270e51c88c44f7553133523c8156e93a2260c1f

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