Object detection augmentations.
Project description
Augmixations
Some augmentation for object detection.
Current augmentations:
- cutmix (Colab Example)
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.3.tar.gz
(10.8 kB
view hashes)
Built Distribution
Close
Hashes for augmixations-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07572e4907993d7f4ff62536d80fd984e5a80848b559dee68bd29566db46646d |
|
MD5 | 24f4779cb0167a874941540d82c2466a |
|
BLAKE2b-256 | e571239465d52ea5a908582808896a2a8a1f1fa6fd7236897c441ae2d044a373 |