Set detected object coordinate to world coordinate frame

Hi, I tried to have an static object that will function as world coordinate so everything in the frame should respect to that object. so how can I convert camera world frame to that object coordinate?

Thanks

Hi, can you be a little more specific ? Share some code maybe ? From what you say, I think you need transformation matrices on every coordinates you have to change the reference frame.