Question: Python/ Pandas/Numpy Write a script that goes to a photo-sharing site like Flickr or Imgur, searches for a category of photos, and then downloads all

Python/ Pandas/Numpy

Write a script that goes to a photo-sharing site like Flickr or Imgur, searches for a category of photos, and then downloads all the resulting images. You could write a script that works with any photo site that has a search feature. (====This is the context. I have this code ====) After all images were downloaded, perform the following: 1) Covert the images to greyscale and save them into a separate directory 2) Resize the images to 28px by 28px and save them into a separate directory 3) With the 28px by 28px, create images of 5x5 photo grids 4) Randomly, apply filters (e.g. blur, rotation) on the original images and save them into a separate directory. Rename the new images with the applied filters name. E.g. if the original filename is img_1234.jpg, a blur filter is applied, the new filename could be img_1234_blue.jpg.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!