Last active
November 25, 2019 10:12
-
-
Save jaycosaur/acd5bc2eb00a841551b139d083d299a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from shared import camera_producer, cpu_bound, display | |
def main(): | |
frames = camera_producer() | |
cpu_bound_op = cpu_bound() | |
for frame in frames: | |
cpu_bound_op(frame) | |
display(frame) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment