From b439a144df0125601d3a5c454f87750da89cc286 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 05:44:29 +0200 Subject: run --- test-mogrify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index 9dcae86..be74ba8 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -93,7 +93,7 @@ if __name__ == '__main__': processed = True img = cv2.Canny(img, data_opt.canny_lo, data_opt.canny_hi) - if processed is False: + if processed is False or data_opt.process_frac == 0: return img src_img = im[:, :, ::-1].copy() -- cgit v1.2.3-70-g09d2