From 16ddd106446bf45098c94ae67e6bc67b4535d24b Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Thu, 4 Jul 2019 00:06:46 +0530 Subject: [PATCH] Update image_processing.py --- camelot/image_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camelot/image_processing.py b/camelot/image_processing.py index 3753a0c..7b87101 100644 --- a/camelot/image_processing.py +++ b/camelot/image_processing.py @@ -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)