Page 1 of 1

Detect litter with machine learning

Posted: Sat Jan 17, 2026 11:05 am
by Tattle2314
Hello, I'm currently doing a science fair project on "detect litter with machine learning." I've gotten all my images for my project and done all the steps correctly however whenever i input my video name into the code the output isn't working. What I mean is that the output doesn't show boxes on the videos as it should be and instead shows no detections. I'm hoping someone could reach out soon. Thank you


Moderator note: https://www.sciencebuddies.org/science- ... _detection

Re: Detect litter with machine learning

Posted: Sat Jan 17, 2026 7:19 pm
by yfgvytfctrsxre3457
Hi, I was having the same problem and I realized you just need to add a ".mp4" or whatever the file type is at the end of the name of your video. Good luck!

Re: Detect litter with machine learning

Posted: Sun Jan 18, 2026 6:51 am
by Tattle2314
Hey. I did put mp4 at the end but could it be for the lack of data? I put 30 images and plan on putting 100 now.

Re: Detect litter with machine learning

Posted: Wed Jan 21, 2026 9:07 am
by amyCC
Did your problem resolve once you added the full set of training data? If you are still having a problem running your notebook, can you please take a screenshot showing the error you are seeing and add it in a post so we can see what you are seeing?

Amy
Science Buddies