openCV clone with corrections and extensions for C++11