Object detection augmentations.
Project description
Augmixations
Some augmentations that I hasn't found in other repositories and libraries.
Warning: This library does not install all dependencies for each augmentation.
Current augmentations:
- cutmix (Colab Example)
- blots (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
cutmix = Cutmix()
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.
Cutmix Advanced Usage
Blots Advanced Usage
Contacts
Issues should be raised directly in the repository. For professional support and recommendations please welcomedenk@gmail.com.
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.4.tar.gz
(14.8 kB
view hashes)
Built Distribution
Close
Hashes for augmixations-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9043508a0910cd731700256990b0f3b8701e13b936da8e7ba94fce14286ba732 |
|
MD5 | 71ceea851dd35f6b21799122ad4d3beb |
|
BLAKE2b-256 | 1e2fe2939cfef7949fef0d03da603bb384e19508aed7704413f4af530b86ea71 |