Skip to content

Instantly share code, notes, and snippets.

View leonichel's full-sized avatar

Leonichel leonichel

View GitHub Profile
@leonichel
leonichel / data_augmentation.py
Last active April 22, 2020 18:04 — forked from tomahim/data_augmentation.py
Data augmentation in few lines with skimage
#!/usr/bin/python
# Credits: Thomas Himblot
# Edit: Leonichel Guimarães
import argparse # library to get folder path as arguments
import os, os.path # library os.path add, to get number of files automatically
import random
from scipy import *