Skip to content
New issue

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

How do I get x, y position of bounding boxes in meters instead of pixels? I have the video inference running at 640X480. I have the D435i model #9812

Closed
FAIRMLSAT opened this issue Oct 1, 2021 · 4 comments
Labels

Comments

@FAIRMLSAT
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

@FAIRMLSAT FAIRMLSAT changed the title How do I get x, y position of bounding boxes in meters instead of pixels? I have the video inference running at 640X480 How do I get x, y position of bounding boxes in meters instead of pixels? I have the video inference running at 640X480. I have the D435i model Oct 1, 2021
@MartyG-RealSense
Copy link
Collaborator

Hi @FAIRMLSAT If you need to convert the XY of pixels to meters, #2481 may be helpful. It provides an example of a Python script created by a RealSense user for such a conversion.

@MartyG-RealSense
Copy link
Collaborator

Hi @FAIRMLSAT Do you require further assistance with this case, please? Thanks!

@FAIRMLSAT
Copy link
Author

FAIRMLSAT commented Oct 8, 2021 via email

@MartyG-RealSense
Copy link
Collaborator

Great news @FAIRMLSAT that you achieved a solution! I will therefore close the case. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants