WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

Measuring Distance and Orientation Using Camera and Lasers

object orientation
θ
laser spacing
s
1
camera focal length
λ
0.5
Distance to an object can be measured with a single camera and a laser, if the laser position relative to the camera is known. Usually the laser is pointed in the same direction as the camera and mounted a known distance from the camera. By dragging the locator, you can choose the orientation of the brown cuboid and two red lasers mounted
s
units to the left and right of a camera, which has a focal length
λ
. These lasers can measure the distance to the cuboid, as shown by the reticule on the camera image. The cuboid's angle can be computed from two distance measurements.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.