Apr-17-2020, 05:40 AM
(Apr-16-2020, 05:25 PM)deanhystad Wrote: 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.
Thank you for your time but I don't really get what you are explaining here. Can you please show a sample complete code using my coding above. Will be much apreciated. Thanks