Tracking a tool, compute 3-D position relative to camera