title: Gesture detection algorithm based on discrete points
body: <p>I am trying to solve the problem of matching a human generated gesture with a known gesture. The human generated gesture will be represented by a sequence of points that will need to be interpolated into a path and compared to the existing path. The image below shows what I am trying to compare <img src="https://i.stack.imgur.com/0RUDn.png" alt="enter image description here"></p>
  
  <p>Can you please help point me in the right direction with resources or concepts that I can read  into to build an algorithm to match these two paths? I have no experience in doing this before so any insights will be appreciated.  </p>