add code to visualize cascading process based on OpenCV 2.1.