I've done some work on the shape recognition plugin for inkscape... still have a little work to do (i may try a delta to get the best results)

shaope recognition.png