{"id":352,"date":"2011-08-12T23:34:36","date_gmt":"2011-08-12T15:34:36","guid":{"rendered":"http:\/\/www.magicandlove.com\/blog\/?p=352"},"modified":"2011-08-12T23:40:14","modified_gmt":"2011-08-12T15:40:14","slug":"openni-and-processing","status":"publish","type":"post","link":"http:\/\/www.magicandlove.com\/blog\/2011\/08\/12\/openni-and-processing\/","title":{"rendered":"OpenNI and Processing"},"content":{"rendered":"<p>Based on the latest Java binding of the <a href=\"http:\/\/www.openni.org\/\">OpenNI<\/a>, I put the SimpleViewer sample into a <a href=\"http:\/\/www.magicandlove.com\/software\/OpenNI002.zip\">Processing sketch<\/a>. The trick is to convert the <a href=\"http:\/\/download.oracle.com\/javase\/1.4.2\/docs\/api\/java\/awt\/image\/BufferedImage.html\">BufferedImage<\/a> into a <a href=\"http:\/\/www.processing.org\/reference\/PImage.html\">PImage<\/a> object for display.<\/p>\n<p>I did testing with another sample &#8211; UserTracker. It seemed that it can only run in 32 bit environment, not the 64 bit.<\/p>\n<p><iframe loading=\"lazy\" width=\"480\" height=\"300\" src=\"http:\/\/www.youtube.com\/embed\/Vv-ssu9W9Bk?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on the latest Java binding of the OpenNI, I put the SimpleViewer sample into a Processing sketch. The trick is to convert the BufferedImage into a PImage object for display. I did testing with another sample &#8211; UserTracker. It seemed that it can only run in 32 bit environment, not the 64 bit.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[40,78,62],"class_list":["post-352","post","type-post","status-publish","format-standard","hentry","category-testing","tag-kinect","tag-openni","tag-processing-org"],"_links":{"self":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/352","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=352"}],"version-history":[{"count":4,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":356,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions\/356"}],"wp:attachment":[{"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.magicandlove.com\/blog\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}