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 extrinsics per frame (to get global frame coordinates) #858

Open
sanaebenjeddi opened this issue Jul 8, 2024 · 1 comment
Open

Comments

@sanaebenjeddi
Copy link

Hi!

I’m working on converting image coordinates to real-world coordinates for each frame captured by the SDC’s camera, so image coordinates * intrinsics * extrinsics.

Since the extrinsics in CameraCalibration is a fixed matrix for each scene, transforming the camera frame to the vehicle frame, I’m wondering how the camera extrinsics per frame are stored or how they can be calculated to transform to the global frame.

Thanks! :)

@ctyfang
Copy link

ctyfang commented Oct 8, 2024

Based on the code here:

" calibration: Camera calibration details (including intrinsics/extrinsics).\n",

I believe we can use the extrinsics to transform from camera frame to vehicle frame, and then use the vehicle_to_world frame stored in the camera message to get to world frame.

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