Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wcchoi/dollar-q
JavaScript Implementation & Demo UI of $Q Super-Quick Recognizer
https://github.com/wcchoi/dollar-q
gesture-recognition javascript
Last synced: about 2 months ago
JSON representation
JavaScript Implementation & Demo UI of $Q Super-Quick Recognizer
- Host: GitHub
- URL: https://github.com/wcchoi/dollar-q
- Owner: wcchoi
- License: mit
- Created: 2019-04-29T08:19:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T02:17:50.000Z (over 5 years ago)
- Last Synced: 2024-08-01T05:21:46.218Z (5 months ago)
- Topics: gesture-recognition, javascript
- Language: JavaScript
- Homepage: https://wcchoi.github.io/dollar-q/
- Size: 576 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# $Q Gesture Recognizer in JS
Implementation of [$Q Super-Quick Recognizer](http://depts.washington.edu/madlab/proj/dollar/qdollar.html) in JavaScript
$Q is an improved, faster version of [$P Point-Cloud Recognizer](https://depts.washington.edu/madlab/proj/dollar/pdollar.html), which is a gesture recognition algorithm that allow:
- users to draw the gesture in how many strokes they want/natural to them
- draw the stroke in any order, direction
- scale-invariant (recognition not affected by how large/small the user draw the gesture)
- easy to implement and understand
- accurate enough (provided that sufficient gesture templates (i.e. training data) are given)There are two sample data sets - Greek alphabet and Cangjie (a set of Chinese characters) - provided for testing, note that accuracy is likely to be low because there is only one template for each gesture class and they are drawn by me (i.e. reflect my own writing style).
In my experience, the algorithm seems to work better for simple shape/symbol-based gestures, less so for alphabet/character type.
## Credit:
Some codes are directly adopted from the following projects:
- https://github.com/francoislaberge/outlines
- https://github.com/cluelab/dollar-recognizers-java/blob/master/src/main/java/com/github/cluelab/dollar/QPointCloudRecognizer.java