Okay so I’m make a program where I will be universally accepting cocoa trackpad events, and I will map these events into NSBezierPaths.
For example, I might have a NSBezierPath that is from just one finger, and it is circular(ish). Or the path might be in the shape of a right pointing arrow. Or it might actually be two vertical NSBezierPaths side by side.
What I need to do is look at these NSBezierPaths and determine what/shape pattern they resemble most…
Does anyone have any pointers?
Thanks
These might help
shape recognition algorithms – stack overflow
a google search
Most of these take a bitmap and try and identify the shape – it’s a complex area.
hth