OpenCV Set Up
After several tutorial tries, I was able to install it successfully on windows with the same tutorial install of OpenCV that Corey used.
The step by step process is listed in the following link: http://siddhantahuja.wordpress.com/2011/07/18/getting-started-with-opencv-2-3-in-microsoft-visual-studio-2010-in-windows-7-64-bit/
I then started to play around with the libraries. I was able to load in an image to a window.
// OpenCVConfiguration.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <cv.h> #include <highgui.h> int main(int argc, char *argv[]) { IplImage* img = cvLoadImage( "S:\\Photos\\Television\\Pokemon\\pokemon.jpg" ); cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE ); cvShowImage( "Example1", img ); cvWaitKey( 0 ); cvReleaseImage( &img ); return 0; }
I do not have a webcam on my current computer to test video capture. I am going to attempt to get an IDE for my laptop to try this code. In the next few days I will attempt to code some edge detection for the images sent to me by Professor Johnson.