Range detection with webcam and laser pointer