My project aim is to be able to count the number of boxes within a image. These boxes will always have a label pasted on them consisting of relevant barcodes which need to be read using computer vision.
Do you have any suggestions on what could be done to do an accurate count of the number of boxes?
One constraint is that these boxes can be of many different sizes and hence if I were to use hough transform, I must be able to cater for these different shapes.
Should I focus on counting the number of labels which will tell me the number of boxes, or should I use the contours of the boxes as the feature to count the number of boxes.
Could someone guide me in what algorithms I start playing with to achieve inventory count?
Up until now, I have tried the watershed algorithm.
One example image would be this
www.california-air-cargo.com/bigstock-Many-labeled-transport-boxes-o-31798733.jpg
Thank you!