I\'m trying to use opencv to detect components in electronic diagrams photos. I am using ORB feature detector with BFMathcer.To detect the multiple occurences I\'m using a slidi