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

Measuing distance between two points to find dimension of object in python3. (realsense L 515) #9090

Closed
akshayacharya97 opened this issue May 25, 2021 · 3 comments

Comments

@akshayacharya97
Copy link


Required Info
Camera Model {L500}
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version ubuntu 18
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform NVIDIA Jetson
SDK Version { legacy / 2.. }
Language {PYTHON3 }
Segment {Robot}

Issue Description

I wanted to calculate the length and breadth of an obkject in the frame. I read that measure is a good function to calcualte this. However, as im not good at c, I would like the python equivalent version of this. My bsaic requirement is, to calcualte length and breadth of an objet. I am using darknet to find th ebounding box and coodinates of the extremitie sof the objct. I now want to use these cooridnates and find the corresponding distance between them in real life. Is there any other way to caluclate this using Realsense L 515 and python along with darknet yolov4

@RealSenseSupport
Copy link
Collaborator

@akshayacharya97
There is some work being done on the python example box_dimensioner_multicam_demo.py that might be of some help here. Yes the measure example is there but not in python.

#9188

https://dev.intelrealsense.com/docs/projection-texture-mapping-and-occlusion-with-intel-realsense-depth-cameras?_ga=2.212013332.1211114678.1623345508-1479303487.1578600965

@MartyG-RealSense
Copy link
Collaborator

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

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

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

No branches or pull requests

3 participants