OpenNI / OpenNI2

OpenNI2
Apache License 2.0
432 stars 892 forks source link

Read: Image buffer is corrupt. Size is 921588 (!= 921600) #74

Open OscardR opened 10 years ago

OscardR commented 10 years ago

Hi,

I'm using the PS1080 driver through OpenNI to capture data from an Xtion PRO Live, which works pefectly on most of the sample software I've tried. In my case, I'm working with FORTH's 3D HandTracker which is somewhat GPU intensive, and I am getting some warning messages from the driver:

1395917999895396 WARNING    Image frame is corrupt!
1395917999962098 WARNING    Read: Image buffer is corrupt. Size is 921588 (!= 921600)

I'm having troubles using the 3D hand tracking library, because it depends on depth and color information, and whenever I get a corrupt frame, it goes unnoticed from the application's point of view (despite the warning log), thus it gets propagated to the tracker and consequently the tracking goes to waste (due to wrong color information and glitches on the image).

Is it possible to repeat last frame in case of buffer corruption, or at least capture this corruption from an OpenNI application in order to prevent the corrupt frame to be propagated or even created?

Thanks in advance!

gaocan1992 commented 8 years ago

Same issue.