View OpenCV
OpenCV is Intel’s open source vision library. It provides basic C-style routines for many basic image processing algorithms. It also provides routines for capturing video from a camera, loading image files, and playing AVI movies. It is cross platform. I find the documentation to be fairly sparse but once you get the hang of it, it’s quite powerful and full featured.
See the Open CV Main Page
OpenCV is used in Touchlib