OpenCV for Visual Studio ------------------------ source: http://sourceforge.net/projects/opencvlibrary/files/ 1) install OpenCV library for example into directory: C:\dev\OpenCV2.1\ 2) unzip OpenCV test program copy folder "visual_studio" to C:\dev\OpenCV2.1\ The path to the project files should be: C:\dev\OpenCV2.1\visual_studio\test_opencv\ 3) open project file: C:\dev\OpenCV2.1\visual_studio\test_opencv\test_opencv.sln 4) compile and run test program (test_opencv.cpp or webcam_opencv.cpp) To test the other program, you have to switch "#if 0" and "#if 1" in the first line of the code.