C++ library for some useful operations in openCV