ShapeRecognition
Shape recognition for video games using fast algorithms (heuristics).
...Finally the shape recognition is launched.
All the algorithms are done for real time gaming. So they are heuristics and do not give the optimal solution. Yet the given solution is generally a good one.
In this demonstration, few shapes can be recognized:
* circles
* triangles
* lines (vertical, horizontal and diagonal)
* arcs with horizontal symmetry
* lowercase phi letters
The code offers the possibility to add its own shapes or even letters recognition. It will be improved to trigger a specific action by shape.
...