{"id":3011,"date":"2011-12-16T09:08:09","date_gmt":"2011-12-16T14:08:09","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=3011"},"modified":"2011-12-16T16:18:58","modified_gmt":"2011-12-16T21:18:58","slug":"simulink-for-natural-interaction-device","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2011\/12\/16\/simulink-for-natural-interaction-device\/","title":{"rendered":"Simulink for Natural Interaction Device"},"content":{"rendered":"<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/62957\">Doug<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/32318-simulink-support-for-kinect\">Simulink for Natural Interaction Device<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/68132\">Takashi Chikamasa<\/a>.\r\n<p><p>\r\nAlthough I work at a software company my background is in mechanical engineering, so I'm a sucker for hardware. You might have seen the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/30277-embedded-coder-target-for-arduino\">work I did<\/a> to link Simulink with the Arduino platform. Needless to say, I was pretty excited when I saw Takashi, my colleague in our Japanese office, demonstrate this submission which allows you to connect a natural interaction device (NID) like Microsoft's Kinect or ASUS's X-tion Pro to Simulink. He has built a library of Simulink blocks that let you pull in data from an NID plugged into your computer's USB port. The interface is built on <a href=\"http:\/\/www.openni.org\/\">OpenNI<\/a>'s existing library, but allows you to leverage <a href=\"https:\/\/www.mathworks.com\/products\/simulink\">Simulink<\/a> and other products like the <a href=\"https:\/\/www.mathworks.com\/products\/computer-vision\">Computer Vision System Toolbox<\/a> to quickly build some advanced algorithms to interperet your gestures or motion.\r\n<p><p>\r\nUnfortunately I don't have an NID (yet) so I haven't been able to try it out myself, but I have seen it demonstrated and was impressed with what could be done. The submission includes a library of basic blocks that allow you to acquire video, depth map, infrared data, motion information, and the location of joints in a skeleton:\r\n<p><p>\r\n<center><a href=\"https:\/\/blogs.mathworks.com\/pick\/files\/pick_01.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blogs.mathworks.com\/pick\/files\/pick_01.png\" alt=\"\" width=\"322\" height=\"600\" \/><\/a><\/center>\r\n<p><p>\r\nThe submission also includes a couple of example models so you can get up and running quickly (click to enlarge):\r\n<p><p>\r\n<center><a href=\"https:\/\/blogs.mathworks.com\/pick\/files\/pick_02.png\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/pick\/files\/pick_02.png\" alt=\"\" width=\"600\" \/><\/a><\/center>\r\n<p><p>\r\n<strong>Comments<\/strong>\r\n<p><p>\r\nIf you get a chance to try it out, let me know <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=3011#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/32318-simulink-support-for-kinect#comment\">comment<\/a> for Takashi.\r\n<p><p>","protected":false},"excerpt":{"rendered":"<p>Doug's pick this week is Simulink for Natural Interaction Device by Takashi Chikamasa.\r\n\r\nAlthough I work at a software company my background is in mechanical engineering, so I'm a sucker for... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2011\/12\/16\/simulink-for-natural-interaction-device\/\">read more >><\/a><\/p>","protected":false},"author":36,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3011"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=3011"}],"version-history":[{"count":23,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3011\/revisions"}],"predecessor-version":[{"id":3045,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3011\/revisions\/3045"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=3011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=3011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=3011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}