We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, I wanted to know in what way I could find the distance between the camera and a tag using these codes
The text was updated successfully, but these errors were encountered:
@sadeola213
This is a pretty vague question and there are a ton of ways to approach it. In general you can get 6DoF (pose) from the tag in multiple ways.
Here's a good article from OpenCV explaining pose estimation: https://docs.opencv.org/3.4/d7/d53/tutorial_py_pose.html
This library has a built in detection_pose function that you need to pass some intrinsic camera parameters.
detection_pose
Here's a good OpenCV article explaining how to get those values: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html
From there you can calculate distance in a few ways. Let me know if that helps!
Sorry, something went wrong.
No branches or pull requests
Hey, I wanted to know in what way I could find the distance between the camera and a tag using these codes
The text was updated successfully, but these errors were encountered: