谁看得懂这个手势软件的算法?

闲逛github看到的新手势软件

它的识别算法有人看得懂吗?(我没看懂)
Shape recognition : compare angles, get the average of the angles differences :

shape-recognition.svg

The calculated difference is approximately the area between the 2 curves of angles (mod 2𝜋) visible on the right of the above image.

Get the minimum difference by shifting a curve horizontally: try removing the beginning or the end, by +/- 10 % max offset (max 20 try).

数学不行
看图是将一个手势的绘制过程分解成线段的角度变化、光标在X轴的运动、光标在Y轴的运动

X轴的运动曲线无法分辨 V 和 N
Y轴的运动曲线无法分辨 V 和 ʁ
只有角度变化曲线能同时分辨三者

程序对角度变化曲线求值,通过数值判别手势

从描述猜测一下:
根据绘制的图形得到角度变化曲线(图中第二行)。
使用这个曲线和预先定义的手势轨迹的角度变化曲线计算差异。差异的计算方法是求两个曲线的图形面积。
下面应该是说,对图形做一些调整和重试,以求得最小阴影面积。
image