Last active
December 28, 2020 15:20
-
-
Save bml1g12/d3313bea2143441ff91a96d065ffbd8b to your computer and use it in GitHub Desktop.
A baseline consumer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for _ in range(n_frames): | |
# produce the frame | |
np_arr = prepare_random_frame(np_arr_shape) | |
# consume the frame and do some example processing | |
_ = np_arr.astype("uint8").copy() * 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment