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.
$\begingroup$
$\endgroup$
2
-
1$\begingroup$ Hey @bobby Welcome to StackExchange Robotics :) It would be easier for someone to help you if you could add any attempts you made. $\endgroup$– Pe DroOct 3, 2020 at 5:27
-
1$\begingroup$ Welcome to Robotics bobby kennedy. Please edit your question to include more details of your setup, what you want to achieve, what you tried, what you saw & what you expected to see. Please take a look at How to Ask & tour for more information on how stack exchange works and work through the Robotics question checklist to help our members answer your question. $\endgroup$– Ben ♦Oct 6, 2020 at 23:56
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
The best (and cheapest) method would be to use AprilTags. I have added the python bindings for it here.
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.