예제 #1
0
        public override KinectBaseImageFrame GetFrame(IntPtr handle)
        {
            var frame = new V2BodyIndexFrame(m_reader, handle);

            if (!NewTimeStamp(frame.Time))
            {
                frame.Dispose();
                return(null);
            }
            return(frame);
        }
예제 #2
0
        public override KinectBaseImageFrame GetFrame()
        {
            var frame = new V2BodyIndexFrame(m_reader.AcquireLatestFrame());

            if (!NewTimeStamp(frame.Time))
            {
                frame.Dispose();
                return(null);
            }
            return(frame);
        }