I have to count eggs on a conveyor belt. The eggs can be seen in various ways.
Small, large, odd-shaped, dirty, cracked, broken, broken empty inside, broken
with liquid inside, next to chicken feather, many eggs touching to each others,
even some eggs might be sitting on top of some group of other eggs.
My challenge is to count the eggs with utmost accuracy. Besides, if possible, to classify/count the abnormal eggs as I mentioned above.
I have already some solution running on Jetson Nano. It counts the eggs by finding counters against relatively dark background (background subtraction). It does a reasonable good job at some degree although it is slow.
My question(s);
Now, I want to do this more with deep-learning models using object detection and object tracking in a single algorithm together. This effort still can be considered as experiment for me.
First thing first, I need to have some image sets so I need some advises on that.
The eggs will always be on a conveyor belt coming along together with very similar type of them (in terms of color, shape and size).
What I am not sure where/how to take shots. Do I have to take the shots with the object's natural environment/background? And, how? should I take shot of each possible egg appearances as I listed above by putting them on the conveyor belt one by one and also changing their orientations a bit each time?
Or Should I take each shot again one by one on with a white background and again and also changing their orientations a bit each time?
A sample appearance from the conveyor belt:
