none
When will INuiBackgroundRemovedColorStream::GetNextFrame return E_NUI_FRAME_NO_DATA all the time? RRS feed

  • Question

  • I am trying to use the background removal functionality. I have a wrapper in C, and my main application is in C#. I am able to get color frames, depth frames, and skeleton frames fine, and display those in my application. However, the background removal stream always return E_NUI_FRAME_NO_DATA (I am using polling, and just skip over it if there is no data). I know it can _sometimes_ return E_NUI_FRAME_NO_DATA, but in this case I don't get a single frame of data.

    What could cause this problem?

    • I'm calling ProcessDepth, ProcessColor, and ProcessSkeleton on the background removal stream.
    • I'm initialising the stream, and enabling it using the correct resolutions.

    (I would post the code, but because it's distributed between C++ and C# the flow is a bit tricky). I am hoping somebody may suggest a debugging strategy so that I can track the problem, or perhaps offer a few things I can check.

    Friday, March 28, 2014 12:45 PM

All replies