Fix degenerated rectangles and Added Webcam Support in Calibration