nburrus/rgbdemo — Issue #12: Calibrate_multiple_kinect broken in 0.7
Author: nburrus
Created: 2012-02-16 17:04:07+00:00
State: open

Report from mkter

The second thing is that the image grabber is not "synchronized". It
happened several times to me that there were 60 view for the reference
kinect and only 50 for the second one. Additionally, the numbers are
interleaved. Both facts lead to an abnormal termination when using
calibrate_multiple_kinect. For the reference camera
get_calibrated_kinect_corners() runs till the end. Unfortunately, the
same image list is used for the second camera
(calibrate_multiple_kinects.cpp:198). Due to interleaved numbering and
the timestamps no picture can be found. OpenCV will then crash because
it can't determine the image typ (of course not, it's empty).

A simple fix is to introduce a separate image list for the second
camera. For me, it works.