Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Usage
var _r = new DollarRecognizer();
if (_points.length >= 10) {
var isUseProtractor = false;
var result = _r.Recognize(_points, isUseProtractor);
console.log("Result: " + result.Name + " (" + round(result.Score,2) + ").");
} else {
console.log("Too few points made. Please try again.");
}
// Mouse Move Event
function mouseMoveEvent(x, y) {
if (_isDown) {
_points[_points.length] = new Point(x, y); // append
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.