This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## text detection using geometric feature in python | |
| # Text detection with MSER, and fill with random colors for each detection. | |
| from matplotlib import pyplot as plt | |
| import numpy as np | |
| import cv2 | |
| ## Read image and change the color space | |
| # cv2.imshow('im',imgname) | |
| # cv2.waitKey(0) | |
| # cv2.destroyAllWindows() | |
| # print('hello') |