Skip to content

Latest commit

 

History

History

data_augmentation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

img_aug

Quick implemention for data augmentation via imgaug,related usage refer to rotate-yolo.
(Or you can run the demo I leave behind the code,it's easy to replicate the effect.)

augentation

This code is completed for DOTA dataset , thus specific modification is necessary for your own label.

  1. Supported methods :affine(sheer、translation、scale、rotation)、hsv augmentation、noise、flip、blur
  2. You're supposed to run one method everytime , and each aug_functioin wil output img files as well as corresponding xml_label files .
  3. Customed: you need to rewrite read_xml and rewrite_label function for correct label process.

Result

  • HSV

  • Affine

  • Flip

  • Noise

  • Blur