calculate distance using disparity map
i am wondering how can i calculate the distance between tow webcams(stereo vision) and an object in front of them using the disparity map?
i am wondering how can i calculate the distance between tow webcams(stereo vision) and an object in front of them using the disparity map?
looking at this nice page, we get:
D:= Distance of point in real world,
b:= base offset, (the distance *between* your cameras)
f:= focal length of camera,
d:= disparity:
D = b*f/d
Asked: 2014-03-17 13:19:15 -0600
Seen: 10,550 times
Last updated: Mar 18 '14
Area of a single pixel object in OpenCV
Weird result while finding angle
cv2.perspectiveTransform() with Python
cv2 bindings incompatible with numpy.dstack function?
Getting single frames from video with python
Line detection and timestamps, video, Python
Different behaviour of OpenCV Python arguments in 32 and 64-bit systems
Any help please!