Skip to content

Instantly share code, notes, and snippets.

@Ashish0091
Ashish0091 / mser.py
Created March 30, 2018 09:48
detect mser region using opencv python
## 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')