Improve performance
Code cleanup
add manual calibration and use it instead ot auto calibration using webcam.