diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-05-15 05:49:51 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-05-15 05:49:51 +0200 |
| commit | 9a848662fe7592756313e54ab4ec3ade0908af9d (patch) | |
| tree | dbd9b9bab9d7c3c8fd7c2a621c0ba191b2b17c02 /test-mogrify.py | |
| parent | 2822bfc89083620aafd44d8d397b4d6a46cc25ec (diff) | |
| parent | 48b571c60720a02eeaf78bd892a294bb213b7c3a (diff) | |
Merge branch 'master' of ghghgh.us:pix2pix
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 |
