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:
Click "Select data.yaml" to load your dataset.
Use the "Previous" and "Next" buttons to navigate through the images.
Toggle between the training and validation datasets using the checkbox.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vieweryolo-0.1.tar.gz.
File metadata
- Download URL: vieweryolo-0.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
462848b54aac9a98ad848e06c0f3fcdcd90227ed18ff1ef86850f8abce34e3ae
|
|
| MD5 |
7040d2c407cc6b8777d80bb559641368
|
|
| BLAKE2b-256 |
27c6ba9ec3825bf0ccd2dd62512dbf9eb243914d8dd9e852e959994cc3e99179
|
File details
Details for the file vieweryolo-0.1-py3-none-any.whl.
File metadata
- Download URL: vieweryolo-0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
258adf72170fb9881f60eb9efb6face7d7ba6eac17ba9980dd9e329cf8ab9826
|
|
| MD5 |
6a09a457edf15fc333f398623e33f3ea
|
|
| BLAKE2b-256 |
4fa34eb69dc2331e64b1bf0ab1f6d161aaa4230f34483a7d58c7bd853729fd30
|