GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — libfreenect-with-python/kinect_examples/demo_cv_sync.py at master · alwynmathew/libfreenect-with-python Expand file tree/ Copy pathdemo_cv_sync.pyMore file actions 23 lines (16 loc) · 460 Bytes / Copy pathdemo_cv_sync.pyFile metadata and controls23 lines (16 loc) · 460 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #!/usr/bin/env python import freenect import cv import frame_convert cv.NamedWindow('Depth') cv.NamedWindow('Video') print('Press ESC in window to stop') def get_depth(): return frame_convert.pretty_depth_cv(freenect.sync_get_depth()[0]) def get_video(): return frame_convert.video_cv(freenect.sync_get_video()[0]) while 1: cv.ShowImage('Depth', get_depth()) cv.ShowImage('Video', get_video()) if cv.WaitKey(10) == 27: break |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |