{"id":1047,"date":"2012-08-07T11:59:18","date_gmt":"2012-08-07T03:59:18","guid":{"rendered":"http:\/\/www.magicandlove.com\/blog\/?p=1047"},"modified":"2012-08-07T12:13:27","modified_gmt":"2012-08-07T04:13:27","slug":"kinect-for-windows-in-processing-2","status":"publish","type":"post","link":"http:\/\/www.magicandlove.com\/blog\/2012\/08\/07\/kinect-for-windows-in-processing-2\/","title":{"rendered":"Kinect for Windows in Processing 2"},"content":{"rendered":"<p>After the <a href=\"http:\/\/www.magicandlove.com\/blog\/2012\/06\/22\/kinect-for-windows-in-processing\/\">first post<\/a> of the Kinect for Windows library, this is the second version of the Kinect for Windows in Processing. I modified the pixels array to contain only the colour pixels of players. The rest is painted green as background. In this version, I align the colour and depth pixels in one output frame buffer, with the use of the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/nuisensor.inuisensor.nuiimagegetcolorpixelcoordinateframefromdepthpixelframeatresolution\">NuiImageGetColorPixelCoordinateFrameFromDepthPixelFrameAtResolution<\/a> method.<br \/>\n&nbsp;<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/L2s6pXfFJGA?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n&nbsp;<br \/>\nThe Processing code is <a href=\"http:\/\/www.magicandlove.com\/software\/PKinect003.zip\">here<\/a>. The DLL is in the code folder of the sketch. In this version, I used Windows 7 32-bit and Java 7. I&#8217;ll consolidate to build both the 32-bit and 64-bit once the interface is more stable.<\/p>\n<p>I use the <a href=\"http:\/\/www.microsoft.com\/en-us\/kinectforwindows\/develop\/developer-downloads.aspx\">Kinect for Windows 1.5 SDK<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After the first post of the Kinect for Windows library, this is the second version of the Kinect for Windows in Processing. I modified the pixels array to contain only the colour pixels of players. The rest is painted green as background. In this version, I align the colour and depth pixels in one output [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[40,62,109],"class_list":["post-1047","post","type-post","status-publish","format-standard","hentry","category-software-2","tag-kinect","tag-processing-org","tag-windows"],"_links":{"self":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/1047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/comments?post=1047"}],"version-history":[{"count":4,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/1047\/revisions"}],"predecessor-version":[{"id":1050,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/1047\/revisions\/1050"}],"wp:attachment":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/media?parent=1047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/categories?post=1047"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/tags?post=1047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}