📅  最后修改于: 2022-03-11 14:45:57.573000             🧑  作者: Mango
kinect = nui.Runtime()
kinect.video_stream.open(nui.ImageStreamType.Video,2,nui.ImageResolution.Resolution640x480,nui.ImageType.Color)
kinect.depth_stream.open(nui.ImageStreamType.Depth, 2, nui.ImageResolution.Resolution640x480, nui.ImageType.Depth)
kinect.skeleton_frame_ready += skeleton_frame_ready
kinect.skeleton_engine.enabled=True