OpenCV-JavaCV : eclipse project configuration windows 7

Eclipse (windows 7) project setup for JNA wrapper of OpenCV : JavaCV - getting started.
OpenCV (Open Source Computer Vision Library) is library of programming functions for real time computer vision.  JavaCV provides wrappers to commonly used libraries for OpenCV and few others.

Download the Essentials :


                  Microsoft Visual C++ 2010 Redistributable Package (x86)
                  Microsoft Visual C++ 2010 Redistributable Package (x64) (If your system is 64 bit)

Installation Steps:

1) Install Microsoft Visual C++ Redistributable Packages. DON'T install x86-bit version if you have x64-bit computer.
2) Extract OpenCV-**-win-superpack.exe inside the root directory C:\
3) Configure path: Add the following environment variables in system path (Make Sure that the folder path is correct)
64-bit version of the JDK:
           C:\opencv\build\common\tbb\intel64\vc10\;C:\opencv\build\x64\vc10\bin\;
32-bit version of the JDK:
           C:\opencv\build\common\tbb\ia32\vc10\;C:\opencv\build\x86\vc10\bin\;

4) Extract the javacv-**-bin.zip and add the .jar files (match with the version of your system) to build path of eclipse project.
Eclipse Project Structure :

Creating javacv eclipse project:

  1. If the above installations are correctly done and environment variables are set properly... 
  2. Create a java project on eclipse as usual and don't forget to add the .jar to build path (described in step 4 above)...
  3. Goto here  for test code
  4. Run the project..
  5. Everything should work fine..

Environment Variable configuration:

Right Click on My Computer -> choose properties -> choose Advance System Settings -> choose Environment Variables and follow following steps 1,2,3 as in image
OpenCV/JavaCV resources :
I will post pointers to useful resources.

References:
http://code.google.com/p/javacv/
http://code.google.com/p/javacv/wiki/Windows7AndOpenCV

Don't forget to see posts about JavaCV and Image Processing here : 
http://ganeshtiwaridotcomdotnp.blogspot.com/search/label/OpenCV-JavaCV
http://ganeshtiwaridotcomdotnp.blogspot.com/search/label/Image%20Processing