Functions | |
| def | get_depth () |
| def | get_video () |
| def | handler (signum, frame) |
Variables | |
| image_depth = mp.imshow(get_depth(), interpolation='nearest', animated=True) | |
| image_rgb = mp.imshow(get_video(), interpolation='nearest', animated=True) | |
| bool | keep_running = True |
| def demo_mp_sync.get_depth | ( | ) |
Definition at line 10 of file demo_mp_sync.py.
| def demo_mp_sync.get_video | ( | ) |
Definition at line 14 of file demo_mp_sync.py.
| def demo_mp_sync.handler | ( | signum, | |
| frame | |||
| ) |
Sets up the kill handler, catches SIGINT
Definition at line 18 of file demo_mp_sync.py.
| demo_mp_sync.image_depth = mp.imshow(get_depth(), interpolation='nearest', animated=True) |
Definition at line 27 of file demo_mp_sync.py.
| demo_mp_sync.image_rgb = mp.imshow(get_video(), interpolation='nearest', animated=True) |
Definition at line 29 of file demo_mp_sync.py.
| bool demo_mp_sync.keep_running = True |
Definition at line 7 of file demo_mp_sync.py.