https://github.com/DaVikingCode/PDollar-Unity
PDollar algorithm Unity friendly
https://github.com/DaVikingCode/PDollar-Unity
gesture point-clouds unity
Last synced: 6 months ago
JSON representation
PDollar algorithm Unity friendly
- Host: GitHub
- URL: https://github.com/DaVikingCode/PDollar-Unity
- Owner: DaVikingCode
- License: bsd-3-clause
- Created: 2014-07-30T09:35:18.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-17T21:47:17.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T05:22:11.893Z (about 1 year ago)
- Topics: gesture, point-clouds, unity
- Language: C#
- Homepage: http://www.aymericlamboley.fr/blog/unity-p-dollar-gesture-recognizer/
- Size: 722 KB
- Stars: 146
- Watchers: 21
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
$P Point-Cloud Recognizer
=========================
[Original article](http://depts.washington.edu/aimgroup/proj/dollar/pdollar.html). [Unity Web demo](http://aymericlamboley.fr/blog/wp-content/uploads/2014/07/index.html).This is an adaptation of the original C# code for Unity.
In the demo, only one point-cloud template is loaded for each of the 16 gesture types. You can add additional templates as you wish, and even define your own custom gesture templates.

About
-----
The [$P](http://depts.washington.edu/aimgroup/proj/dollar/pdollar.html) Point-Cloud Recognizer is a 2-D gesture recognizer designed for rapid prototyping of gesture-based user interfaces. In machine learning terms, $P is an instance-based nearest-neighbor classifier with a Euclidean scoring function, i.e., a geometric template matcher. $P is the latest in the dollar family of recognizers that includes [$1](http://depts.washington.edu/aimgroup/proj/dollar/index.html) for unistrokes and [$N](http://depts.washington.edu/aimgroup/proj/dollar/ndollar.html) for multistrokes. Although about half of $P's code is from $1, unlike both $1 and $N, $P does not represent gestures as ordered series of points (i.e., strokes), but as unordered point-clouds. By representing gestures as point-clouds, $P can handle both unistrokes and multistrokes equivalently and without the combinatoric overhead of $N. When comparing two point-clouds, $P solves the classic [assignment problem](http://en.wikipedia.org/wiki/Assignment_problem) between two bipartite graphs using an approximation of the [Hungarian algorithm](http://en.wikipedia.org/wiki/Hungarian_algorithm). The $P recognizer is distributed under the [New BSD License](http://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22Revised_BSD_License.22.2C_.22New_BSD_License.22.2C_or_.22Modified_BSD_License.22.29) agreement.License
-----
BSD-3