Apr-16-2020, 05:25 PM
(This post was last modified: Apr-16-2020, 05:25 PM by deanhystad.)
Step 1 is write your program like this:
def find_faces(filename): """Function that does everything you are doing right now for 1 file""" find_faces("image_file_name.jpg") find_faces("another_image_filename.jpg")Once you get that working you will replace the two function calls with a loop that iterates over filenames in a folder. There are may ways to iterate though files in a folder and several tutorials on the web.