This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dataset maker for https://github.com/Engineering-Course/CIHP_PGN | |
# author: qzane@live.com | |
import os,sys,shutil | |
from PIL import Image | |
import numpy as np | |
DATA_TYPE = ['png','PNG','jpg','JPG'] | |
def main(): | |
USAGE = "python %s /path_to_images name_of_dataset" % sys.argv[0] |