Generalizing the Active Shape Model by Integrating Structural Knowledge to Recognize Hand Drawn Sketches