C++ source code with openCV