I want to detect gestures in C# from 2D, so x and y float values which gives me the Google Daydream Controller. But this is problem is not Google Daydream specific I think. So, input are many x, y values and output should be “circle 90% probability” with patterns or algorithms. But how can I figure out whether it is a circle or another gesture?
Example input for a circle (beginning up middle):
(0.5, 0.1)
(0.6, 0.1)
(0.7, 0.2)
(0.8, 0.3)
(0.8, 0.4)
(0.9, 0.4)
(0.9, 0.5)
(0.9, 0.6)
(0.9, 0.7)
(0.8, 0.8)
(0.9, 0.5)
(0.9, 0.6)
(0.9, 0.7)
(0.8, 0.7)
(0.8, 0.8)
(0.7, 0.8)
(0.7, 0.9)
(0.6, 0.9)
(0.5, 0.9)
(0.4, 0.9)
(0.3, 0.9)
(0.3, 0.8)
(0.2, 0.8)
(0.2, 0.7)
(0.1, 0.7)
(0.1, 0.6)
(0.1, 0.5)
(0.1, 0.4)
(0.1, 0.3)
(0.2, 0.2)
(0.3, 0.2)
(0.3, 0.1)
(0.4, 0.1)
(0.5, 0.1)
Any ideas? Thank you!