Implementation of OpenCV part of the project