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 intrinsics #9

Open
arjung128 opened this issue Apr 18, 2023 · 1 comment
Open

Camera intrinsics #9

arjung128 opened this issue Apr 18, 2023 · 1 comment

Comments

@arjung128
Copy link

arjung128 commented Apr 18, 2023

The docs mention that the camera intrinsics are stored in the jsonl files. Printing data[0]['intrinsics'] shows that the first element is 1596.5323486328125. Is this the focal length? If so, what coordinates is this in?

Also, is the horizontal field of view known for the cameras used during the video recording? Thanks!

@SamMaoYS
Copy link
Collaborator

SamMaoYS commented May 1, 2023

Hi @arjung128 ,

Yes the camera intrinsics are stored in the jsonl file, as described in the doc, the intrinsic parameter is a 9x1 vector corresponds to the column major 3x3 intrinsics matrix for the RGB frames. Thus yes, the first element is x focal length, you can find more details about the camera intrinsics we are storing in the Apple ARCamera instrinsics.

You can compute the filed of view from the camera intrinsics, here is a slack overflow blog that I found online that describes how to do such conversion.

All the best,
Yongsen Mao

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