OpenNI camera parameters gives faulty marker detection
Hey everyone
Following my problem with getting the camera parameters from the OpenNi driver which is now solved, then I have set up ArToolKitPlus to detect markers using the RGB camera with the parameters from "rgb/camera_info". I have previously used the ArToolKitPlus in another project where it worked fine, but this time I experienced some problems with the distance in the z-axis. I have used rviz to compare the frame of the marker with the RGB point cloud, the marker frame has "openni_rgb_optical_frame". Screenshots of this is can be seen here and here, there square marker might be a bit hard to see, but it looks like the found marker fits regarding the x- and y-position, but the depth is totally off. The question is why the depth is failing using ArToolKitPlus, I am have also tried to do manual calibration of the camera and getting more or less the same parameters, so the problem must be something internal in the Kinect camera. Maybe something originating from the depth sensing?
I hope someone has an idea to solve this problem as marker detection is crucial for two of my projects.
Regards
Sebastian Aslund