diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 05:49:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 05:49:33 +0200 |
| commit | 48b571c60720a02eeaf78bd892a294bb213b7c3a (patch) | |
| tree | dbd9b9bab9d7c3c8fd7c2a621c0ba191b2b17c02 /test-mogrify.py | |
| parent | b439a144df0125601d3a5c454f87750da89cc286 (diff) | |
ok
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-mogrify.py b/test-mogrify.py index be74ba8..676b1ad 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -92,6 +92,7 @@ if __name__ == '__main__': if data_opt.canny is True: processed = True img = cv2.Canny(img, data_opt.canny_lo, data_opt.canny_hi) + img = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR) if processed is False or data_opt.process_frac == 0: return img |
