OpenCVBaseProject is a project mainly written in C++, it's free.
Multiplatform c++ opencv project for doing wtf you want with it.
You need CMake and OpenCV (dev version)
To compile and launch :
mkdir build cd build cmake ../ make ./src/opencvtest