{"id":1182,"date":"2014-07-31T11:09:45","date_gmt":"2014-07-31T10:09:45","guid":{"rendered":"http:\/\/www.aymericlamboley.fr\/blog\/?p=1182"},"modified":"2014-12-30T09:00:20","modified_gmt":"2014-12-30T08:00:20","slug":"unity-p-dollar-gesture-recognizer","status":"publish","type":"post","link":"http:\/\/www.aymericlamboley.fr\/blog\/unity-p-dollar-gesture-recognizer\/","title":{"rendered":"Unity P Dollar gesture recognizer"},"content":{"rendered":"<p>Hey guys! Just back from vacations in Norway (what an amazing country!), it&#8217;s time to go back to code!<br \/>\nLong time ago, I played with the <a href=\"http:\/\/depts.washington.edu\/aimgroup\/proj\/dollar\/index.html\" target=\"_blank\">one dollar algorithm<\/a> for making gesture recognition. Browsing the page this week, I discovered the $1 has two children <a href=\"http:\/\/depts.washington.edu\/aimgroup\/proj\/dollar\/ndollar.html\" target=\"_blank\">$N<\/a> and <a href=\"http:\/\/depts.washington.edu\/aimgroup\/proj\/dollar\/pdollar.html\" target=\"_blank\">$P<\/a>. This last one is the most recent one and the best one! Its top features are multi-stroke and gestures represented as unordered point-clouds.<\/p>\n<p>The $P algorithm has a C# implementation, so it shouldn&#8217;t be hard to use it with Unity? Indeed, unless the UI and files save path, the original code worked fine! A <a href=\"http:\/\/aymericlamboley.fr\/blog\/wp-content\/uploads\/2014\/07\/\" target=\"_blank\">web demo<\/a>, <a href=\"https:\/\/github.com\/DaVikingCode\/PDollar-Unity\" target=\"_blank\">Github project<\/a> and it&#8217;s on the <a href=\"https:\/\/www.assetstore.unity3d.com\/en\/#!\/content\/21660\" target=\"_blank\">Unity Asset Store<\/a>!<\/p>\n<p>Enjoy \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hey guys! Just back from vacations in Norway (what an amazing country!), it&#8217;s time to go back to code! Long time ago, I played with the one dollar algorithm for making gesture recognition. Browsing the page this week, I discovered the $1 has two children $N and $P. This last one is the most recent &hellip; <a href=\"http:\/\/www.aymericlamboley.fr\/blog\/unity-p-dollar-gesture-recognizer\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Unity P Dollar gesture recognizer<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[164],"tags":[192],"_links":{"self":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1182"}],"collection":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/comments?post=1182"}],"version-history":[{"count":4,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1182\/revisions"}],"predecessor-version":[{"id":1402,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/1182\/revisions\/1402"}],"wp:attachment":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/media?parent=1182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/categories?post=1182"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/tags?post=1182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}