Using OpenCV 2.4.2 with Visual Studio 2012 on Windows 7 (64-bit)

EDIT: I have not updated this article since Nov 21, 2012. There might have been a lot of changes since then. If anyone is interested in updating it,¬†shoot me a mail and I’ll give you the editing rights to this article.

So before starting you’ll need to make sure you have these in your computer:

  1. Visual Studio 2012 (You can download the 90-day trial version from here)
  2. OpenCV 2.4.2 (You can download it from here)

Extract OpenCV in a folder named¬†OpenCV-2.4.2 in C drive. [Note: You can change the path and folder name but then you wont be able to use the instructions as they are and you’ll have to make modifications]

There are five simple steps that we have to make sure that we follow to get OpenCV up and running smoothly: (Click on the images to enlarge them) Continue reading