1
$\begingroup$

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.

$\endgroup$
  • 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 Dro Oct 3 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 at 23:56
0
$\begingroup$

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.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.