O'Reilly logo

OpenCV 2 Computer Vision Application Programming Cookbook by Robert Laganière

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an OpenCV project with MS Visual C++

Using MS Visual C++, you can easily create OpenCV applications for Windows. You can build simple console application or you can create more sophisticated applications with a nice graphical user interface (GUI). Since it is the easiest option, we will create a simple console application here. We'll use Visual Studio 2010, however, the same principles also apply to any other versions of the Microsoft IDE since the menus and options are very similar in the different versions.

When you run Visual Studio for the first time, you can set it up in a way such that C++ becomes your default development environment. This way, when you will launch the IDE, it will be in Visual C++ mode.

We assume that you have installed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required