diff options
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
