The robot is standing in the middle of the arena. I am confused on how to convert the pixels into a real life distance and how to use the bounding box. Starting help is appreciated.
For a great starting point, refer to this blog that explains the setup in C++.
It can not only tell you the distance but also the orientation of the object
I hope it helps.