-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable librealsense on unrooted android devices #3083
Enable librealsense on unrooted android devices #3083
Conversation
dfd9d26
to
198711d
Compare
Signed-off-by: Daniel Piro <[email protected]>
Added Recording capabilities Signed-off-by: Daniel Piro <[email protected]> Infrared is now working
Added Color imager texture to test app Android Sample Code refactoring Signed-off-by: Daniel Piro <[email protected]>
…rate folder - Bug fixes - Code cleanup Signed-off-by: Daniel Piro <[email protected]>
# Conflicts: # src/android/android-uvc.cpp
cae01d7
to
d5331ba
Compare
@matkaz thanks for the awesome wrapper. Just a few things:
|
The current version has a very bad delay(~10s!) when the device wants to load and show the RealSense data. |
@ssakhavi, sorry for the late response (twice)
We Plan to add support in all of librealsense API in the future, currently if you are missing functionality you can work with the native API.
Playback and record are now supported, please check the examples for more details.
Can you explain what do you mean by delay? Is it the time to the first frame after start or something else? Also what Android device are you using for testing? |
It's okay @matkatz
Regarding the Advanced mode and Alignment, we managed to implement it the
same way that you did.
We also implemented "background remover" as a processing block to make it
faster.
The problem we have now is that is this:
When wanting to set the parameters for Advanced mode, we need a device
handle. Getting the handle adds around 3 extra seconds in addition to
starting the pipeline. So our delay is around 8-10 seconds overall.
Our code is here if you want to look at it :
https://github.com/KroniKare/RealSense-NewAndroid/tree/KroniKare-Update/src/android/jni
…On Tue, 19 Feb 2019, 22:20 MatKatz, ***@***.***> wrote:
@ssakhavi <https://github.com/ssakhavi>, sorry for the late response
(twice)
- Currently there is no support for additional filter operations (i.e.
Alignment) Maybe something similar to the options can be written for the
wrapper?
- An option to enter Advanced mode and modify would be nice ( I'm not
sure the current options >
covers all the parameters)
*We Plan to add support in all of librealsense API in the future,
currently if you are missing functionality you can work with the native API
<https://github.com/matkatz/librealsense/tree/unrooted_android_device_support/wrappers/android/examples/native_example>.*
- Saving and loading Frames is a feature that is used in many cases to
communicate and do calculations on server and Android.
*Playback and record are now supported, please check the examples
<https://github.com/matkatz/librealsense/tree/unrooted_android_device_support/wrappers/android/examples>
for more details.*
The current version has a very bad delay(~10s!) when the device wants to
load and show the RealSense data. Where is this delay coming from?
*Can you explain what do you mean by delay? Is it the time to the first
frame after start or something else? Also what Android device are you using
for testing?*
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3083 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFwDe-kBF1O6mPBFpH6ucPM9dAaefn9Cks5vPAg7gaJpZM4aEmW_>
.
|
Btw, @matkatz, your code is awesome. I enjoyed my time playing around with it. |
This PR is based on the work done by @dperox and @aangerma to enable access to RealSense device via librealsense on unrooted android device.
The PR includes the following:
Currently the java API includes the minimal required functionality to allow basic streaming.
The Android project is located at /wrappers/android