Object detection augmentations.
Project description
Augmixations
Some augmentation for object detection.
Current augmentations:
- cutmix
In progress:
- mozaic
- gridmask
- mixin
Getting Started
pip install augmixations
Example with default parameters
Import:
from augmixations import cutmix
Using:
#bg_img - The image into which a rectangle will be inserted
#fg_img - The image from which a random rectangle will be cut
img, boxes, labels = cutmix(bg_img, bg_boxes, bg_labels, fg_img, fg_boxes, fg_labels)
Done.
Advansed usage
You can pass special configs to the cutmix function to override its behavior.
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
augmixations-0.0.1.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for augmixations-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fea61e0504ec7176bd94bacd7cdfee57b6a27be29c41d3e66e0c8d8d9a58313 |
|
MD5 | 12126ef4e46a8fdeb1c22f3e372944a2 |
|
BLAKE2b-256 | 6c9e5920b34643d4a6a78847a1de3e4a8581c35ba0b17a65873c7f169411f287 |