The PolyRec Recognizer is a unistroke gesture recognizer suitable for fast prototyping of gesture-based applications. The recognizer uses a nearest neighbor approach, and requires a small number of samples for each class.
The similarity between two gestures is calculated through a three steps procedure:
- firstly, each gesture is approximated to a polyline, in order to extract its main movements;
- then, the two polylines are aligned to obtain an equal number of segments from both of them;
- lastly, the distance is found by summing the contribution of each pair of segments.
This implementation, in JavaScript, for a thesis work, is a prototype developed for scientific purposes and web uses.
More technical details on PolyRec can be found in the following scientific paper here:
V Fuccella, G. Costagliola; Unistroke Gesture Recognition Through Polyline Approximation and Alignment; in Proceedings of CHI 2015; pp. 3351-3354
This software is distributed under the New BSD License agreement.
1. Arrow 2. Caret 3. Check 4. Circle 5. Delete Mark 6. Left Curly Bracket 7. Right Curly Bracket 8. Left Square Bracket 9. Right Square Bracket 10. Pigtail 11. Question Mark 12. Rectangle 13. Star 14. Triangle 15. "V" 16. "X" |
Make strokes on this canvas. If a misrecognition occurs, add the misrecognized unistroke as an example of the intended gesture. |
Copyright © 2021 All rights reserved.
Last updated September, 2021.