Matlab program.Basic image processing is done to detect a white light.Still in devp phase for my image aquisition device is 2mp or something.So even any ordinary in-room picture appears dark.Using battery torch ensured proper working with mouse control.