使用http://opencv.willowgarage.com/wiki/和http://www.amazon.com/Learning-OpenCV-Computer-Vision-Library/dp/0596516134的OpenCV