structureio / OpenNI2

OpenNI2
Apache License 2.0
981 stars 449 forks source link

building for unity, outdated android instructions #98

Open joshferns opened 7 years ago

joshferns commented 7 years ago

Hi, apologies right at the start; quite new to github as a community and not sure if this is the right place to post this.

My goal is to eventually get the Structure sensor to work via Unity on a Android device.

The Android build instructions seem quite outdated, mainly, ADT on Eclipse and Ant installer for windows seem discontinued.

This would be my first attempt at building a plugin from source, would like to know if there is any other information that i should be knowing and how I should proceed.

Thanks in advance.

masterchop commented 7 years ago

Can your android device handle the kinect?

On Sun, Nov 13, 2016, 7:10 AM joshferns notifications@github.com wrote:

Hi, apologies right at the start; quite new to github as a community and not sure if this is the right place to post this.

My goal is to eventually get the Structure sensor to work via Unity on a Android device.

The Android build instructions seem quite outdated, mainly, ADT on Eclipse and Ant installer for windows seem discontinued.

This would be my first attempt at building a plugin from source, would like to know if there is any other information that i should be knowing and how I should proceed.

Thanks in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/occipital/OpenNI2/issues/98, or mute the thread https://github.com/notifications/unsubscribe-auth/AHzA0IepvMdyIyQ4Z7LUMgDb8TBYOlN2ks5q9ww6gaJpZM4Kwr_m .

joshferns commented 7 years ago

@masterchop I plan on using the Structure sensor. Wouldn't know if android devices can handle the kniect; if i remember correctly I've seen a youtube video of the kinect running off a pandaboard. But if the current android devices could possibly handle the kinect (atleast v1), would be more than happy to try that out. I do have access to the Nvidia Shield tablet, which might be a good candidate.

masterchop commented 7 years ago

True Nvidia Shield can be a good way to go but i never tried as Android can barely work with the Leap Motion which is less powerfull, my recomendaiton to you is to plug the Kinect v2 or v1 to your PC and create a socket that you can connect from android and send the skeleton data, if you send video or Depth it probably be to much for the bandwidth so make sure you have 5G wireless or do Tethering or compress the info on PC and then send it to android.

I have work with this alot and send the skeleton to android is the best solution i have found adding extras is just to much for the bandwithd.

In regards to the small PC boards i havent seen 1 single sample of 1 running kinect v2 properly or v1 with a good real use case, they just install the SDK and manage to run it and make a video of the sample, the coding on linux its on C which is a pain not to much people really create something useful so you need windows to test all the samples out there, To are really build something, all boards i have seen cant handle kinect v1 at more than 10fps which sucks. If you know different i will be more than happy to test it out as from my research only NUC can really take the juice for Kinect v2.

joshferns commented 7 years ago

hi , thanks @masterchop , but im really trying to get the http://structure.io sensor or someting similar to work on an android. I have used the kinect in the configuration that you mentioned; wherein im tracking a user by a Kinect v2 running off a PC and sending over the data over wifi. Have used this asset on the Unity asset store https://www.assetstore.unity3d.com/en/#!/content/61376 .

@All I need to get some sort of reconstruction done using either structure sensor or http://shop-orbbec3d-com.3dcartstores.com/Orbbec-Astra_p_12.html this sensor.

Again, am totally new to any sort of plugin development, and the project doesn't look like it is under active development. any sort of guidance will be much appreciated. Thanks.