I have a conveyor belt. I want to detect tear and damage. 1drv.ms/v/s!AphyUNTXimgZgtdsFSgen5mpm9UYFQ?e=eTuBjZ. How can I convert video to panoroma one image?
I would just put the code that I show in the program inside a function that receives the name of the file to process and the folder as parameters, and then, outside the loop, write a loop that "walks" your folder with all the files, and for each file it finds, it would call the function, passing it the file name and folder names as parameters. See stackoverflow.com/questions/4582550/file-walking-in-python for an example of what I mean.
Thank you for sharing that clip... I used to walk from Belmont Avenue, up Green Street, past the college gates, across the street and down the church driveway on my way to school (or the State Street Fruit Store & Serio's) when I was growing up in Northampton 60 years ago. Warms my heart to hear the bells still ringing. Bob in SW Virginia
When your counting the Yes's there are 4 one is repeated in the same line. If you were trying to count how many lines have yes in them then this would be correct.