For more information, I have tried with RGBDemo v0.5. After executing the calibrate_kinect_ir, it was able to detect corners for all the images, but then stops unexpectedly.
I was wondering if this is because the depth images are not captured yet? As, the IR window of the RGBD Viewer does not display at all, just Color image and the RGBD. How can I fix this?