Update image_processing.py

This commit is contained in:
Vinayak Mehta
2019-07-04 00:06:46 +05:30
committed by GitHub
parent 2115a0e177
commit 16ddd10644
+1 -1
View File
@@ -100,7 +100,7 @@ def find_lines(
size = threshold.shape[1] // line_scale
el = cv2.getStructuringElement(cv2.MORPH_RECT, (size, 1))
elif direction is None:
raise ValueError("Specify direction as either 'vertical' or" " 'horizontal'")
raise ValueError("Specify direction as either 'vertical' or 'horizontal'")
if regions is not None:
region_mask = np.zeros(threshold.shape)