I have an application where I need to count small parts (tiny nuts and bolts) quickly for packaging. Traditional object sensing does not work due to the size of the parts so I am looking into vision methods. It will only be 1 type of part at a time and I have complete control of the environment (lighting, background etc.). The plan is to use Arduino. I believe this will work but have 2 main concerns:
1.) Color detection. The nuts and bolts are either brass or steel. I am most worried about the gray color of the steel not contrasting or reflecting too much light.
2.) Multiple parts counted as one. It is possible that parts are touching each other. This may be solved by analyzing the object size?
Before moving on to testing I would like to get feedback from the community to verify this would work!
Thanks for the help!