get position of an object from image
my environment is gazebo 7 and ros kinetic and I work on a virtual robots project.
my robot model only supports thermal camera and rgb camera (I don't have depth camera).
I can detect an object in x
, y
position of robot camera with w
width and h
height.
Now my question is, how can I find position of that object in map?
for example: if my robot position is (250, 250) and x , y , w , h
are (72 , 22 , 23 , 109) in camera ( camera resolution is (240 , 320)), how can get position of that object? (I know true position is (245 , 269))