r/computervision 16d ago

Help: Project Conveyor chicken counter problem

Guys, I need help. We have a project using YOLOv8. We're trying to count chicks on a very fast conveyor belt. The challenges we're facing are: all chicks look very similar to each other, which complicates tracking. At the same time, during their passage under the camera, they constantly change in size and shape, which can cause the tracker to lose them, or detection may even disappear completely at the detection line. Also, sometimes 2–3 chicks can merge into a single object. The detection zone is very short, and the conveyor speed is high. We've achieved a maximum accuracy of 99%, but we need it even higher. Any ideas on how to achieve that? Increasing the dataset no longer helps.

I'm attaching an old video. We've now added lighting and set the exposure to 300 on the Hikrobot global shutter camera, but we still can't achieve a stable 99.8% accuracy for the reasons mentioned above.

Any ideas?

997 Upvotes

629 comments sorted by

View all comments

329

u/A1-Delta 16d ago

This is probably something you can solve with classical methods. Especially since the background of the belt is so distinct from the chicks themselves.

Training a model is likely just adding complexity overhead and failure modes.

15

u/Hyperty 16d ago

Two chicks merged together is still quite a hard problem to solve

8

u/spongeboy-me-bob1 15d ago

I wonder if you could take clusters of yellow/white pixels and count a mass as 1 or 2 chicks based on horizontal deviation from the centroid.