Range Finder Through a Laser Pointer
2012
This project started in 2012.
This project uses the simple geometry principles of light to measure the distance between a webcam and an object. By placing a laser-pointer in a fixed, known horizontal position from a camera and knowing the laser dot position in the image, it is possible to calculate the distance between the laser dot and the camera's focal plane. Using the computer vision library AForge in C#, it is easy to find the laser dot in the image by brightness, shape and color.
- Programmed in
C#.
- Over 1,200 lines of code.This figure may include comment lines and some modified library files.
-
AForge.NET
used in C#.
Lang/Lib/Pro |
Version |
.NET Framework |
4.0 |
AForge.NET |
2.1.2.0 |
Type |
Windows Form Application |
Input |
Camera Feed |
Output |
Text/.txt FIle |
Special Components |
Webcam, Laser Pointer |