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

Is there the way to calculate distance/position to/of an object instead of pixel? #527

Open
2 tasks done
levmarki opened this issue Dec 22, 2022 · 2 comments
Open
2 tasks done

Comments

@levmarki
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal

The "common" way to detect the distance to small objects is to run the object detection on RGB, apply the detection to the depth and then filter it in some way (averaging/median/whatever).
Is there the way to calculate distance to the middle/top/bottom of the object only? Without using the Depth Map?

Use-Case

First of all, it will give us better results on small objects, it's much simpler to find registration between two objects (the same object from different cameras) instead of pixel calculation.
In addition, maybe it can be more calculage-efficient to calculate the distances to the objects of interest instead of whole frame?

Anything else?

No response

@P-yver
Copy link
Member

P-yver commented Oct 26, 2023

Hi,
if you don't want to use the depth data you can compute the 3D position of the object if you have its 2D position within the left and right image, then use the stereo model to compute its 3D position.

@levmarki
Copy link
Author

levmarki commented Oct 26, 2023 via email

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

No branches or pull requests

2 participants