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

Mapping pixels for distance #8

Open
Zumbalamambo opened this issue Nov 8, 2019 · 1 comment
Open

Mapping pixels for distance #8

Zumbalamambo opened this issue Nov 8, 2019 · 1 comment

Comments

@Zumbalamambo
Copy link

How do I select a point in 2d image (either from the right camera or the left camera) and get the distance through the stereo vision?

@fh-kriftel
Copy link

I am also interested in the distance measurement of this code.

The measuring is not quite correct, I guess the parameters do not match my focal length.

In line 244 last parameters should be "disp", not filt_Color, I believe.

In line 31 - here happens the "measuring", add

disp = param

Then, when double-clicking in the stereo picture, it will output distances.

Have fun.

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

2 participants