1
Vote

Can't see the rgb or depth stream on GUI

description

I downloaded the source code, and copied it over to my Dev Kit v1.8's KinectExplorer-D2D, everything seemed to compile well, but when I copy over the KinectExplorer.rc, the GUI launches without showing the big square of the rgb + skeleton, and also without the smaller square of the depth map + skeleton.

However recording still works great.

Here's a snapshot of the compiled/debugged code:

file attachments

comments

echad wrote Nov 21, 2014 at 5:20 PM

Resolved,

Both DepthProcessor and ColorProcessor have a polling mechanism as to whether hide or show the new frame.
    if (EnHideView)
    {
        m_pStreamViewer->HideView();
        //goto ReleaseFrame;
    }else if (m_pStreamViewer) // Draw ou the data with Direct2D
    {
        m_pStreamViewer->ShowView();
        m_pStreamViewer->SetImage(&m_imageBuffer);
    }

For some reason EnHideView is always set to true. I just commented this mechanism out
    //if (EnHideView)
    //{
//      m_pStreamViewer->HideView();
        //goto ReleaseFrame;
    //}else if (m_pStreamViewer) // Draw ou the data with Direct2D
    //{
        m_pStreamViewer->ShowView();
        m_pStreamViewer->SetImage(&m_imageBuffer);
    //}