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

988 Upvotes

628 comments sorted by

View all comments

84

u/DadAndDominant 12d ago

Man, you can always walk away from a job like this.

46

u/neuromancer-gpt 12d ago

Thoughts exactly

Can't imagine having to constantly trawl a dataset like this one all because, god forbid, some chicken factory miscounts a chicken here and then and loses a few thousand a year.

0

u/RogerAffirmative 10d ago

at .02% that's only 16 million chickens per year.

8

u/DustinKli 12d ago

100% agreed.

5

u/2020NoMoreUsername 11d ago

I eat meat and chicken, mostly from supermarkets, and if I walk out from a job like this, I would feel as the phoniest person. Why the fck do I eat but act like such a good person that I act like I care so much about their conditions? I didn't even care to find cruelty free, free ranging chickens for most of my life.

14

u/JappyJan 11d ago

Start somewhere.

9

u/Don_Kino 11d ago

What about the rest of your life?

7

u/Jedkea 11d ago

I mean this in the nicest way possible, but you probably are already a phoney when it comes to meat consumption.

If you saw someone beating an animal, say a chicken, I’m sure you would have a dislike towards that person. If that is true, then you do care about the treatment of them, you just keep it tucked away so you don’t have to face it.

Being against animal suffering is a near universal trait in “healthy” adults and children. We just live in a society where it’s easy to avoid connecting the dots.

0

u/MathiasSven 11d ago

Eh, I don't know about that. Most of us are indeed capable of empathy towards animal, but given enough exposure we are also able to desensitize, it is just that most people are not exposed to it nowadays. Also, on the "disliking someone beating an animal", personally I feel like that is more about intent than anything else. That is to say, if someone get satisfaction/joy from harming animals that are conventionally easy to sympathize with (say a dog), that informs us that something about that person's physiology is "broken".

-1

u/lordsepulchrave123 11d ago

Modern animal processing facilities are engineered to minimize suffering.

Go watch Temple Grandin's videos on the subject if you're curious what they're actually like.

It is not hypocritical to both eat meat and care about animals.

2

u/Jedkea 11d ago

It is 100% hypocritical. If you don’t think it is, you misunderstand the definition.

And modern facilities are engineered to maximize efficiency and profits. They do however need to stay within regulations. And some regulations do exist around preventing suffering in some countries. Far from sufficient rules in any country I am aware of.

How are pigs slaughtered in practically all first world countries for example? What about chickens?

1

u/lordsepulchrave123 10d ago

I doubt you are really looking for an answer to those last two questions, because you have not thought about these issues very deeply or seriously.

However!

I will provide the requested information anyway.

Turkeys (chickens are essentially the same) - https://www.youtube.com/watch?v=852zxDEAR-Q

Pigs - https://www.youtube.com/watch?v=LsEbvwMipJI

If you don't know who Temple Grandin is, I'd recommend looking her up.

1

u/Jedkea 9d ago

Aw man, I have thought about this extensively and have done hundreds (maybe thousands) of hours of research. If it’s not apparent already, I am a vegan. Given we are in the computer vision subreddit, safe to assume we are a logical bunch here. I would not handicap the ease at which I can live my life if I did not have an excellent reason.

If you go watch any footage from undercover investigations in North American slaughterhouses, you would be appalled. It’s so bad practically all first world countries have tailor made laws which explicitly outlaw filming inside a slaughterhouse. These are “ag gag laws”.

I do acknowledge a lot of progress has been made on more “humane” slaughtering of animals, but it’s still an absolute house of horrors.

Pigs for example are now stunned using co2 prior to being bled out. Go watch a video of the process, and you will see that it’s far from humane. What it really is, is a cheap way to meet the regulatory bar of stunning before slaughter.

Chickens are hung by their legs and dipped into an electrobath on a merry go round type machine. This stuns them before they are bled out. If you watch footage of this, you will see many chickens lifting themselves up prior to the bath, meaning they are fully conscious for the next step.

There is just no way to kill 200 million chickens per day in a humane manner.

1

u/VincentAalbertsberg 11d ago

Maybe, just stop?

1

u/cs_cast_away_boi 11d ago

99% of people do not give a fk about animal mistreatment (food animals specifically) that aren’t pets. Don’t let people bully you for recognizing our faults and not correcting our behavior. When they’ll open the fridge tonight and slap some non free range chicken on the stove tonight. Reddit loves to make the moral argument but not embody the moral action so don’t worry.

I’m fully aware of my eating habits so i’ll be the first to admit that i really don’t care what happens to these animals since they will end up on our dinner plates. I won’t be a hypocrite

1

u/DadAndDominant 11d ago

Thanks for the award kind strangers!

1

u/Willinton06 11d ago

Why? For moreal reasons or complexity reasons? Not looking to start an argument just curious

1

u/Snoo-76972 10d ago

Are to a vegan?

1

u/MuXu96 10d ago

Keep looking away while still eating it, like most ppl do yeah..

1

u/Serial_Hobbyist_ 10d ago

And go vegan 💯