Now, I'm trying to solve a problem about different coordinate on color and depth image plane.
As you guys know, images from RGB camera and infrared(depth) camera are slightly different, because there is a distance between RGB and depth camera.
When I draw boxes on the depth image, I want to draw same boxes on the color image plane.
Is there any tip or solution??
Of course they are different as they are located in different location in the world, and have a different sensor size, and even a different lens.
The RealSense SDK, and the librealsense, both provide an in depth explanation about this, and offer you different functions to project to and from any of those cameras.
I recommend you to read the documentation, as it covers all of this.