YoloPrep
YoloPrep is a lightweight Python toolkit to prepare your object detection dataset for training with YOLOv5, YOLOv8, or other YOLO-based frameworks.
Output Structure
images/
└── train/
├── image_001.jpg
├── image_002.jpg
labels/
└── train/
├── image_001.txt ← empty YOLO annotation
├── image_002.txt
Installation
pip install yoloprep
Example
from yoloprep.core import YoloImagePreparator
prep = YoloImagePreparator(
source_dir="raw_images",
image_out_dir="images/train",
label_out_dir="labels/train",
image_size=640
)
prep.extract_frames("video.mp4", every_n_frames=10)
prep.prepare()
Command Line
yoloprep --source raw_images --size 640
License
MIT License
Metadata
Release files for yoloprep 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yoloprep-0.0.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yoloprep-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / yoloprep-0.0.1.tar.gz
| Download URL | yoloprep-0.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f988b729b0844d0aad46b53446a268daece454c376ce0b6b9b19ce9ee0b47f89
|
|
BLAKE2b-256 checksum How to use checksums |
fc945f1e9dbcbd2f63fad6d4d56cb6f1c6af10f04141365f0c7f9bbd822c21cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / yoloprep-0.0.1-py3-none-any.whl
| Download URL | yoloprep-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24f4235d9144bff28f852c4c73d78286e2744dc4c7feb625c81d3f92ceb846ea
|
|
BLAKE2b-256 checksum How to use checksums |
2a402737450b483af9a7b0716a1c31ce0a94aacdfb068cfc6a0be4d03483c2cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|