Skip to content
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

Getting Intrinsic Values in Android Wrapper #6915

Closed
joeyf123 opened this issue Jul 23, 2020 · 2 comments
Closed

Getting Intrinsic Values in Android Wrapper #6915

joeyf123 opened this issue Jul 23, 2020 · 2 comments

Comments

@joeyf123
Copy link

joeyf123 commented Jul 23, 2020

Required Info
Camera Model D435i
Firmware Version 05.12.03.00
Operating System & Version Android 10
Kernel Version (Linux Only)
Platform Android
SDK Version 2.36.0
Language Java
Segment Robot

Unable to retrieve Intrinsic information from the intrinsic class

Hello,

I am attempting to recreate the deproject method in the android wrapper. It appears that all the information necessary is available to me except the intrinsic information. While I am able to get the intrinsic class from the depth stream there is no way to extract that information as it is encapsulated in a way that makes it unreachable. It is inconsistent with its c++ equivalent because of this. What is in intention of this class and are getters able to be added to it so that we are able to make use of its data.

Thank you

Example:

// Getting the Frame
DepthFrame depth = orgSet.first(StreamType.DEPTH, StreamFormat.Z16).releaseWith(fr).as(Extension.DEPTH_FRAME);
...
Intrinsic intrinsic = depth.getProfile().getIntrinsic(); // I am able to get the intrinsic from the stream
intrisic.getPpx(); // This method does not exist, but would be helpful

@ev-mp
Copy link
Collaborator

ev-mp commented Jul 23, 2020

@joeyf123 , those Wrapper APIs have been recently added to the development branch -
#6594
You can give it a try and provide feedback.

An additional PR is aimed to deliver the projection functionalities -#6818
Duplicate of #4580

@ev-mp
Copy link
Collaborator

ev-mp commented Jul 27, 2020

The new wrapper functionalities are now part of the v2.37.0 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants