Skip to main content

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:

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


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)

Uploaded Source

Built Distribution

augmixations-0.0.4-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page