I need to use your astra device from the Odroid C2 HW (http://www.hardkernel.com/main/products/prdt_info.php) which is based on the ArmV8 architecture and uses the AArch64 instruction set.
I was able to compile on it the openni2 version at https://github.com/orbbec/openni2 and so I’m able to work with pre registered oni files.
Now I need to connect and use your Astra sensor and so I need the libORBEC.so library for this platform.
I have also compiled your astra sdk on that platform but the libORBEC.so library is not builded with it.
Somewhere I read that it is not even open source, so my question is: can you please provide it to me or let me be able to compile it ?
The link you provided contains the 32 bit version of the libORBEC.so library for arm: libORBBEC.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped
which is not what I’m asking for.
I need the aarch64 (arm 64 bit) version of the library.
I’m not sure about the performances but the real problem I’ve now is that I’ve to use it together with opencv 64 bit and java 64 bit.
Anyway I can give it a try but using a 32 bit whole software stack, if I can get one working on the C2 of course.
This is what I did to have a 32 version run on the c2:
I’ve compiled opencv 2.4.12 on an odroid xu 4 and the copied it to the c2.
I’ve copied the oracle 32 bit jvm from the odroid xu 4 to the c2.
I’ve copied the required 32 bit libraries from the xu 4 to the c2.
I’ve installed the 32 bit arm version of the astra openni2 distribution.
I’ve set the LD_LIBRARY_PATH accordingly.
Now everything runs but I cannot receive any frame from the astra device, this are the messages I get in the log:
867 INFO New log started on 2016-05-24 09:36:21
952 INFO — Filter Info — Minimum Severity: WARNING
67936 WARNING Failed to set thread priority (1)
67990 WARNING USB events thread: Failed to set thread priority to critical. This might cause loss of data…
Warning: USB events thread - failed to set priority. This might cause loss of data…
162576 WARNING Received NACK: 2
2188267 WARNING Failed to set thread priority (1)
2188439 WARNING Failed to set thread priority to critical. This might cause loss of data…
2719426 WARNING Endpoint 0x81, Buffer 0: Asynch transfer failed (status: 1)
2720415 WARNING Endpoint 0x81, Buffer 1: Asynch transfer failed (status: 1)
2721739 WARNING Depth: Expected 1, got b
2721754 WARNING Depth frame is corrupt!
…
This works great, thank you. But now there is some kind of noise in depth map. One of orbbec developers wrote [quote=“josh, post:2, topic:282”]
The pre-compiled OpenNI2 binaries include an additional filter (not found in the github source) that is necessary for correct depth data results.
[/quote] in this thread, so I guess we still need official Arm64 release of OpenNI for Astra cameras.
Well, I wrote to guys from Orbbec and after some time they give me link for OpenNI for arm64 - Dropbox - OpenNI-Linux-ARM64-2.2-0524.tgz - Simplify your life. But I still have the same problem with noise in depth map. It would be perfect, if someone try this and share his expirience.
No, from both OpenNi’s. But on 32bit odborian with openni for arm 32bit yes, there was lots of them and fps was around 5-10, also streaming stucks sometimes.
You are absolutely right qlkvg, everything works with the odrobian jessie OS but with a lot of noise.
I’ve recorded two oni files from the same camera in the same light conditions, one with my Intel ubuntu pc and the other with the odrobian C2 mini pc, results are very different as you can see: