diff options
Diffstat (limited to 'encoder.py')
-rw-r--r-- | encoder.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -67,10 +67,7 @@ def get_frame(): ), ) ) - return np.stack( - ((frame & 0b0001) * 255, (frame >> 1 & 0b0011) * 255 / 3, (frame >> 3) * 255), - axis=-1, - ).astype(np.uint8) + return np.stack(((frame & 0b0001) * 255, (frame >> 1 & 0b0011) * 85, (frame >> 3) * 255), axis=-1).astype(np.uint8) if args.mix: |