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

Camera capture info needed in header #8

Open
cboulay opened this issue Sep 26, 2019 · 3 comments
Open

Camera capture info needed in header #8

cboulay opened this issue Sep 26, 2019 · 3 comments

Comments

@cboulay
Copy link
Contributor

cboulay commented Sep 26, 2019

So the xdf storage is more complete, it would be good if during construct_streaminfo, we also added capture device info to the header, especially frame_size and intrinsics.

@papr, obviously you know this better than anyone, but if you don't have time to do this then please point me to where I can find an example of how to access capture details from a plugin, if such a thing exists. Is it just g_pool.capture.frame_size and g_pool.capture.intrinsics?

@papr
Copy link
Collaborator

papr commented Sep 26, 2019

These are the correct attributes. Please be aware that they can change during runtime. Please be also aware that the intrinsics can be of two different types with a different amount of parameters: radial and fisheye.

You can find more information in the camera_models.py file.

@cboulay
Copy link
Contributor Author

cboulay commented Sep 26, 2019

Just curious, what would cause them to change during runtime?

@papr
Copy link
Collaborator

papr commented Sep 26, 2019

For example if the user changes the resolution during runtime. Or if the user runs the Camera Intrinsics Estimation plugin.

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

No branches or pull requests

2 participants