The main goals for this project was to write code to calibrate two cameras removing their distortion and create live disparity map using OpenCV library.
Calibration of the cameras was performed with checkboard. First I took several pictures with checkboard in different locations and angles. Than using cv::calibrateCamera I got calibration data which was saved to xml file. Now taken images can be fixed using cv::undistort() function.
With unistorted images I could calculate disparity using the StereoBM algorithm using stereo->compute() function. To improve visablity I used interactive trackbars to tune algorithm parameters.


