Skip to content

Image and keypoint augmentor based on skimage and imgaug

License

Notifications You must be signed in to change notification settings

mohaEs/Batch-image-and-landmark-augmentation

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages