Recognition of Unistroke Gesture Sequences
Our code is extended from the $1 Unistroke Recognizer codebase: http://depts.washington.edu/aimgroup/proj/dollar/
To be precise, we downloaded and modified the dollar.html and dollar.js from that website (available to us via BSD license). Thus, a diff of our files against the dollar.html and dollar.js files from the website will output all the code that we developed.
The following routines in dollar.js are our routines:
- DTWForDistanceSegmentation
- LearnMatch
- DynamicTimeWarp
- FindClosestPoint
- DTWForDistance
- optimizeDistance
- GetStrokesByName
- GetGestures
- EuclideanDistanceFunc
- DrawCorners
- CopyPointArray
- CopyArrayPart
- CopyArrayUntilEnd
- TranslateUnistroke
- ResultSorterFunction
- UniformScaleTo
Additionally, the following methods are not used in our final segmentation routine, and can be considered "construction dust" (but are written by us):
- multiRecognize
- strokeSimilarity
- SegmentationAnalysis
- MinGestureLength
- FindAllPossibleMatches
- FindGestureMatchesInSequence
- IncrementalSearch
- flattenResults
- FindGestures
- OptimizeWindowsize
- AddNewResults
- ThreshholdFilter
- DTWByStroke
- DTWSequence
- DTW
- ScoreTarget
- StrokeMatchTest
- ConcatUnistrokes
- ClearCanvas
- DrawStroke
- DescendingResultSorterFunction
- CopyResultSeq
Additionally, we modified some functions of the $1 Unistroke Recognizer codebase:
- AddGesture
Extension of $1 Recognizer
The project's actual source files are in the dtw folder. The HTML file is the UI for the project