Script to help download and cleanup dataset from google images

I wrote a python script to retrieve and download all the images you saved from into a CSV file(using your browser’s Javascript console) into individual directories. The script checks them all the images downloaded to confirm they’re either jpg, jpeg or png as well as whether they can be opened by PIL. If any of those is untrue, the image is deleted.

Someone might find it handy so i’m sharing(https://github.com/Blowoffvalve/ComputerVisionProject/blob/master/utils/download.py). Submit issues if you have any problems using it.