Yolo Dataset Redactor
- Small library for yolo datasets
Examples:
yolo_dataset_redactor.video
Video:
from yolo_dataset_redactor.video import Video
video_path = "./videos/some.mp4"
images_path = "./images" # path for save images
period = 100 # every {period} frames save image
prefix = "png" # image suffixes
video = Video(video_path)
video.split(images_path, period, prefix)
Videos:
from yolo_dataset_redactor.video import Videos
videos_path = "./videos"
images_path = "./images" # path for save images
period = 100 # every {period} frames save image
video_suffixes = ["mp4"] # videos suffixes
image_suffix = "png" # image suffixes
videos = Videos(videos_path, video_suffixes)
videos.split(images_path, period, image_suffix)
yolo_dataset_redactor.image
Image:
from yolo_dataset_redactor.image import Image
image_path = "./images/some.png" # image path
new_size = (640, 640) # image resized to {new_size}
image = Image(image_path)
image.resize(new_size)
Images:
from yolo_dataset_redactor.image import Images
image_path = "./images" # images path
suffixes = ["png"] # images suffixes
new_size = (640, 640) # images resized to {new_size}
images = Images(image_path, suffixes)
images.resize(new_size)
Metadata
Release files for yolo-dataset-redactor 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yolo_dataset_redactor-0.2.2.tar.gz | 5.3 kB | Without provenance | Details for yolo_dataset_redactor-0.2.2.tar.gz |
Release files / yolo_dataset_redactor-0.2.2.tar.gz
| Download URL | yolo_dataset_redactor-0.2.2.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0e70be507fc1154c75ef2e022ff3691fa63f39618cd1eaca7082ceb605db17a
|
|
BLAKE2b-256 checksum How to use checksums |
fd765075515a04740398a717c3b5571343fe91470406dbc2afe62c797acc5fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for yolo-dataset-redactor 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.