calibrated camera position and implemented perspective correction