OpenKinect-for-Processing
OpenKinect-for-Processing copied to clipboard
Extending max depth
Hi
For a project, I'd like to use the kinect V2's full depth sensing capabilities. From what I could find online, it seems it's able to sense up to around 8m. Apparently these are settings one can change when working directly with libfreenect, but seeing as the library is precompiled to work with processing, this cannot be changed anymore.
Would it be possible to add this feature? I realise this would mean recompiling the library but it might be a possibility!
Thanks a lot
I don't think there's any programmable way to change the distance (especially not extending) of the kv2. If you really want to get to the core of things then I'd recommend taking a look at the C++ libraries that Microsoft provides. I do see that there's a "near mode" for the older kinect though, but I don't think that's what you're looking for... https://blogs.msdn.microsoft.com/kinectforwindows/2012/01/20/near-mode-what-it-is-and-isnt/
You can certainly create thresholds for an interaction zone however using the code itself, if you take a look at the DepthThreshold example [ note: you'll have to replace kinect2.startDepth() with kinect2.initDepth() and kinect2.start() with kinect2.initDevice(). ]