Pattern recognition when viewing iPhone screen

I am trying to write a game in which the user can issue commands by drawing certain patterns with his fingers ... for example, if he draws a circle, the letter "S", an extract, etc.

I am already familiar with touch events, and I am able to read the coordinates ... my problem is finding algorithms and pattern recognition information with some degree of error ... for example, If I have to find a circle that I have to detect, even if the user isn’t made perfect.

Any resources in this matter, thanks!

+3
source share
2 answers

, , Javascript. , . , ; , .

+5

, , "".

, , , .

alt text

+1

Source: https://habr.com/ru/post/1715735/


All Articles