Stereo-Vision icon indicating copy to clipboard operation
Stereo-Vision copied to clipboard

Mapping pixels for distance

Open Zumbalamambo opened this issue 6 years ago • 1 comments

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?

Zumbalamambo avatar Nov 08 '19 21:11 Zumbalamambo

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.

fh-kriftel avatar Nov 15 '21 20:11 fh-kriftel