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

Doubt regarding the distance estimation #24

Open
Subhankar48 opened this issue Jul 26, 2020 · 2 comments
Open

Doubt regarding the distance estimation #24

Subhankar48 opened this issue Jul 26, 2020 · 2 comments

Comments

@Subhankar48
Copy link

The formula for the distance estimation is mentioned as distancei = (2 x 3.14 x 180) ÷ (w + h x 360) x 1000 + 3. I have a counterexample in mind. Please let me know if I have made a mistake. Suppose you take two objects, one much larger than the other. Place the smaller object close to the camera and the larger object far away from the camera while ensuring the fact that both the objects take up the same bounding box space in the camera. In this case, the distance estimate will be the same for both objects when one of them is in fact much farther than the other.

@paul-pias
Copy link
Owner

The example that you gave is completely dependent on the performance of the object detector you are using. For instance, many modern object detectors face problems while detecting large and medium objects. You can read my answers in Issue#16 and Issue#18.

@HassanBinHaroon
Copy link

Check out the following relevant and easiest implementation.

https://github.com/HassanBinHaroon/object_detection-PLUS-distance_estimation-v1

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

No branches or pull requests

3 participants