diff options
author | Anthony Wang | 2024-04-25 12:07:49 -0400 |
---|---|---|
committer | Anthony Wang | 2024-04-25 12:07:49 -0400 |
commit | 32ddc1c750136e75753da6195bf0b8b020d83e87 (patch) | |
tree | e74ad49dc2df58dc1a8ea0e7626e2d6d8748555b /encoder.py | |
parent | 74b6ae8ddc7506a57b6ba197b67b629f869794a8 (diff) |
Add usage instructions to README.md
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: |