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.2.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for augmixations-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3913cf739ae450120cdce8f958665f8e920e8c2c995f23ff01dbc282e7716fc |
|
MD5 | 821b1b519c74f39d39e4c51b04cb459f |
|
BLAKE2b-256 | 9662c042b38b9828b6eafc0c16573d39bf12a70e36a487fa5d7e8b83265db801 |