Problem to detect custom logo or square in boxes with opencv

Viewed 176

I am trying to detect how many boxes in an image with given logo 'N' for example. How can i approach this problem. My main goal is to count each different product using opencv. So far I tried template matching with 'N' logo. enter image description here

used this to count below. enter image description here

From my example with haar cascade classifier training with different cascade models. enter image description here enter image description here

0 Answers
Related