Hello. I have a lot of photos. Each photo contains many similar items. An example on the photo. I need to find the boundaries of each such item. For now I'm searching rectangular boxes of goods. At first I find the logos on the photos, then for each logo I'm trying to find the boundary box which contain that logo. I'm using the Hough Trasform algorigthm for searching and selection lines. My code (using OpenCV) currently allocates about 20% of the boxes. Data (recognized boxes) is not a lot that does not allow normal to teach statistical algorithms (eg neural networks). Tell me, please, how to select the boxes, especially with regard to their similarity.