I am new to image processing, I would like to be able to count distinct beer bottles in an image. For that I thought of counting the caps, but I could not find a way to start doing it. From my research I found people generally uses Hough Cicles to count caps, but it's not able to count caps of distinct brands for example. Also the image won't be from top, but from a diagonal view like below:
I isolated the 3 distinct caps:
I also read about Scale-Invariant Feature Transform (SIFT) that could be used to extract features of object images and use it later to detect the same object on new images, but I don't know how to use that for these isolated caps.
In the example image there is 13 bottles with Cap 1, 11 with Cap 2 and 13 with Cap 3. I want to count this using image processing.