Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 863 Bytes

File metadata and controls

27 lines (16 loc) · 863 Bytes

Image and keypoint augmentor

Use this for aumenting the images and corresponding landmarks. based on skimage and imgaug https://github.com/aleju/imgaug

Files!

  • PrMain_single_image.py: use it as an example of augmentation on an image.
  • PrMain_batch_images.py: use it for batch processing.

Easy for batch processing!

  • Set the source and destination folders
  • It is assumed that, for each image in source folder, there is a csv file, consists the x, y locations of landmarks. see the example file.
  • Set the all augmentation variations in the AugCongigList list (based on imgaug syntaxes)
  • Execute it.
  • All the augmented images (.png), corresponding keypoints (.csv) and information (.txt) will be saved in the destination folder.

Some examples:

Screenshot

Destination Folder:

Screenshot