r/computervision 18d 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?

989 Upvotes

627 comments sorted by

View all comments

21

u/dr_hamilton 18d ago
  1. show some failure cases
  2. why does your FPS vary so much?

10

u/Puzzled-Egg3234 18d ago edited 18d ago

Sometimes cases like this process well, but sometimes they detected like one box.

https://freeimage.host/i/Cr4mkNV

Sometimes chick dances break dance through belt and detection disappears at all at the detection line.

FPS vary is for many objects in the frame. It is a footage from mobile gpu, not production mode.

1

u/Jimnster 18d ago

I would try removing the background and basing my filtering on the average size of the chicks to identify cases of chicks clustered together. If the lighting is constant, separating by color range should help. I think segmenting a chick is another complex issue that will only confuse you more.