We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e2d3e3 + f8b35bb commit dc29391Copy full SHA for dc29391
docdetect/canny_edges.py
@@ -20,7 +20,7 @@ def _preprocess(im, blur_radius):
20
21
22
def _find_characters(im, max_area):
23
- mser = cv2.MSER_create(_max_area=max_area)
+ mser = cv2.MSER_create(max_area=max_area)
24
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
25
characters, _ = mser.detectRegions(gray)
26
return characters
0 commit comments