Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Object detection augmentations.

Project description

Augmixations

Some augmentation for object detection.

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 

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for augmixations, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size augmixations-0.0.3-py3-none-any.whl (17.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size augmixations-0.0.3.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page