This program comes in handy to create datasets for your ML/DL models. Just specify the link from where you want to scrape, the resultant folder, the image size required for the model and the split ratio. It comes in-built with image resizing features and option to split the scraped images into training and test set.
Required Inputs -
url = website link.
folder = resultant folder.
size = image resize dimensions (expected list).
split_ratio = ratio to split training and test sets (expected list).
Required Libraries/Packages
os (https://pypi.org/project/os-sys/).
requests (https://pypi.org/project/requests/).
splitfolders (https://pypi.org/project/split-folders/).
bs4/Beautiful Soup (https://pypi.org/project/beautifulsoup4/).
PIL/Image (https://pypi.org/project/Pillow/).