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

About the intrinsic and extrinsic of the camera #45

Open
Moreland-cas opened this issue Jan 7, 2025 · 3 comments
Open

About the intrinsic and extrinsic of the camera #45

Moreland-cas opened this issue Jan 7, 2025 · 3 comments

Comments

@Moreland-cas
Copy link

Hi there, fantastic work—really impressive!

I have a few questions about your method:

  1. Does the approach assume that the camera extrinsic remains constant throughout the process?
  2. Is there a specific way we need to set or configure the camera intrinsics?
  3. Are the output 3D tracked points expressed in the coordinate frame of the first image?

Looking forward to your response. Thank you for your time and for sharing this great project!

@nicolas-schreiber
Copy link

I'd also like to know that, especially since I do have that information and at the moment all my objects do look slightly flattened, which I assume is connected to the intrinsics

@KaKituken
Copy link

KaKituken commented Feb 16, 2025

Since the model is trained on ZeoDepth, I guess the intrinsic is aligned with ZeoDepth. I found this in ZeoDepth's repo

# geometry.py from ZeoDepth
def get_intrinsics(H,W):
    """
    Intrinsics for a pinhole camera model.
    Assume fov of 55 degrees and central principal point.
    """
    f = 0.5 * W / np.tan(0.5 * 55 * np.pi / 180.0)
    cx = 0.5 * W
    cy = 0.5 * H
    return np.array([[f, 0, cx],
                     [0, f, cy],
                     [0, 0, 1]])

But not sure whether it matches the final tracking 3D result, I'm verifying it.

@OliEfr
Copy link

OliEfr commented Mar 10, 2025

@henry123-boy Any input from your side? :)

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

4 participants