Detecting specific shapes

anyone got any ideas on how(or if its even possible) to analize shapes(user created with drawing API) and recognise things like hearts…houses…flowers…whatever…just pull out the most recent shape and compare it against a list for accuracy (like 80% similar) regardless of size differences…

the only thing i could think of was to create a new MC each time the pen is pressed down

get a bitmapdata copy of the item and then get a bitmap copy of the item scaled the same as the drawing setthe RGB colors to both items the same

and go through each pixel and figure out 80% 60% simillar etc…

I guess that might work just looking for input on any other ways this might be achieved