I have a task to find the object in an image.
and translate the 2d coordinate(x,y) from my camera to 3d coordinate for my robotic arm. Now I can find the 2d coordinate with my opencv python code, and 3d coordinate by my teaching method from my robotic program but in different origin point. However, the method that I use to convert 2d to 3d coordinate is still wrong. Since the origin of the robotic arm and camera is not the same point. So I would like to ask that what formula/code should I use to convert 2d coordinate(x,y) to 3d coordinate(x,y,z) if the origin is not the same.