Vector line matching

hello,

Ive hit a wall in my game and was wondering if someone could help me out. Basically I need a way to recognize shapes drawn by the player and match it to library of shapes or disregard the drawn input as invalid. The shapes are not basics geometric shapes but something more in the lines of cursive writing “ancient spell kinda symbols”

Any ideas ?

How about thicken the lines of the shape then place your shape over it and rotate it. If your shape fits in their shape it is a possible match.

Not the same but something along those lines. Basically you need some recognition plugin/module. Good luck!

Would something like Procrustes analysis work ?