TOpenCV is a project mainly written in C++, it's free.
Some test snippet codes about OpenCV, based on O'Reilly Learning OpenCV.
Learning OpenCV.