pykinect get_next_frame example help

May 24, 2012 at 8:48 PM

Can anyone point me to a sample of how to properly use ImageStream.get_next_frame()?  I'm trying to implement what i THINK is analogous to getting frames by polling, e.g.:

with nui.Runtime() as kinect:<args>)



Based on the sample code (PyGameDemo,etc), i get the impression that it's probably not that simple, what other steps would i need to take to set this up properly?  Thanks!