I need a program that will take a picture of a ticket and then do Optical Character Recognition for data mining purposes. We would like to use our camera on our mac book pro or general webcam. We would like the programmer to use OpenCV for the camera and window and tesseract for the OCR. This does not have to have a GUI, it is up to the programmer. Once the program is run, a screen will show up with the camera view. The user will hit the spacebar to take the picture. Once the picture is taken if the information is good enough to recognize the characters then display "Good" across the screen else "Bad". The words should be large across the window and cleared when the spacebar is hit again and should now be ready to take another picture. We would then like the result to be in a data structure so that we can put it in our database or perform math functions. The escape key will exit the program. We have included a scanned image of the ticket that will be used for testing (tiff for tesseract). This program should be written in C. It should compile under Mac OSX 10.6 Snow Leopard or Linux Ubuntu 10.10 using GCC. If you have any question please do not hesitate to ask.