手势识别学习

A port of the $1 Unistroke Recognizer (aka Dollar Gesture Recognizer) to iOS as a UIGestureRecognizer.


The $1 Unistroke Recognizer was originally authored by:

  • Jacob O. Wobbrock, University of Washington
  • Andrew D. Wilson, Microsoft Research
  • Yang Li, University of Washington

CMUnistrokeGestureRecognizer is a UIGestureRecognizer subclass, able to recognize any number of unistroke gestures configured by the user. Stroke paths are registered as UIBezierPath objects, making it easy to create and display paths.

The core unistroke recognizer algorithm is written in C, although uses GLKVector2 and GLKMath for high performance vector math on iOS devices. As such, the GLKit framework is required. Unit tests are included.

CMUnistrokeGestureRecognizer is open source, released under an MIT license.

A demo iOS application is included, showing how CMUnistrokeGestureRecognizer can be used and containing all the test strokes used by the algorithm authors. The demo app is open source and released under a MIT license.



reference: https://github.com/chrismiles/CMUnistrokeGestureRecognizer

你可能感兴趣的:(Objective-C,IOS,+,Mac,OS)