Ask Your Question

Revision history [back]

morphologyEx with MORPH_OPEN give me reverse image result

I use an element (image of character 'c') apply to a image (text image) and use cv2.morphologyEx(img, cv2.MORPH_OPEN, element) to do the match (find character 'c' in text image)

However, the result image give me all the position of 'c' but with reverse 'c' (as the image)

Could anyone please tell me why and how to get the right place of image and element? image description