Final Code for Project

   
     
  This is a complete listing of all the code for the image processing part of the project.

This contains the TWAIN interface class, the serial interface class, the image processing, the command creation class, and the class that links them all together.

To run compile all file on the computer with the camera installed on.  Then open the camera software and take a picture to find the color that the image processing should track.  Then start the image processing, enter the number, and watch the commands flow across the screen.  These numbers are the number of .5 degree steps the camera should move, negative if left.

 

Files:

command.cpp

command.h

constants_and_parameters.h

errorcode.cpp

errorcode.h

hs_serial.cpp

hs_serial.h

hs_twain.cpp

hs_twain.h

ip.cpp

ip.h

main.cpp

seniorproject.cpp

seniorproject.h

twain.h