X-Lens: Real-Time Metric Depth Estimation with Heterogeneous Cameras
X-Lens is a compact, real-time feed-forward model that achieves robust metric depth estimation from heterogeneous fisheye and pinhole cameras by leveraging learnable calibration tokens and a Jacobian-parameterized distortion bias, all trained on a newly released large-scale synthetic dataset called OmniScene.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to build a 3D map of the world using a camera backpack. Most robots and self-driving cars wear a backpack with a mix of lenses: some are standard "pinhole" cameras (like your phone) that see far away clearly, and others are "fisheye" lenses that see everything around you in a giant, curved bubble.
The problem? These two lenses speak different geometric languages. The fisheye lens stretches the edges of the image like a funhouse mirror, while the pinhole lens keeps things straight. For a long time, computers struggled to mix these two views together to figure out exactly how far away objects are in real-world meters. They either got the math wrong, needed massive supercomputers to do it, or had to flatten the curved images into a weird "panorama" that lost important details.
Enter X-Lens, a new, tiny, and super-fast AI model that acts like a master translator for these mixed cameras.
The Magic Translator
Think of X-Lens as a compact, 0.04-billion-parameter "brain" (that's tiny compared to other models that weigh in at over 1 billion parameters). Instead of trying to force the fisheye and pinhole images to look the same, X-Lens accepts them exactly as they are.
It uses two clever tricks to make sense of the chaos:
- Learnable Calibration Tokens: Imagine these as little sticky notes the AI sticks onto the fisheye images. These notes tell the AI, "Hey, this part of the image is stretched because of the lens, so don't trust the shape too much." This helps the AI align the curved fisheye view with the straight pinhole view without squishing the image first.
- Jacobian Distortion Bias: This is like a special compass for the AI. It calculates exactly how the light rays are bending at every tiny spot in the image. By feeding this "bending map" into the AI's attention system, the model learns to ignore the distortion and focus on the actual 3D shape of the world.
The result? X-Lens can look at a mix of six cameras (four fisheye, two pinhole) and instantly spit out a dense depth map with a real-world scale. It doesn't just guess "near" or "far"; it tells you an object is exactly 11.07 meters or 31.64 meters away. And it does this at 41 frames per second, which is fast enough for a robot to dodge obstacles in real-time.
The Giant Practice Field: OmniScene
To teach X-Lens how to do this, the researchers couldn't just use existing photos because there weren't enough examples of mixed cameras with perfect 3D measurements. So, they built OmniScene, a massive synthetic world.
They created 103 different scenes (from shopping malls to sci-fi complexes) and generated 266,000 synchronized frames using a virtual six-camera rig. This is like training a pilot in a flight simulator that has seen every possible weather condition and runway before they ever touch a real plane. The data includes 1.7 million individual images with perfect, noise-free depth labels.
What the Numbers Say
The paper tested X-Lens against the biggest, heaviest models in the field. Here is what happened:
- Speed: X-Lens runs at 41 FPS on a single high-end GPU, while the strongest competitors often run at 5 to 13 FPS.
- Size: X-Lens uses 0.04B parameters. The next best competitor, MapAnything, uses 1.23B parameters. That means X-Lens is 88.9% smaller than the baseline.
- Accuracy: On the mixed-camera test (OmniScene-Full), X-Lens reduced the error (AbsRel) by 25.4% compared to the strongest baseline. It also improved the "Scale AbsRel" (how well it guesses the real-world size) by 68.1% compared to MapAnything.
What X-Lens is NOT
It is important to know what this model doesn't do, because the paper is very clear about its limits:
- It does not predict camera settings: X-Lens needs to be told exactly what the camera lenses look like (the calibration) before it starts. It cannot guess the lens type or the camera position on its own.
- It is not a "fix-all" for weird lenses: The model was trained on specific types of fisheye and pinhole lenses. If you feed it a lens with an extreme, never-before-seen field of view that is totally different from the training data, the paper suggests the performance might drop slightly because it hasn't seen that specific "funhouse mirror" before.
- It is not a general 3D reconstruction tool: Unlike some massive models that try to guess the camera's pose, the lens type, and the 3D map all at once, X-Lens is specialized. It focuses strictly on depth and scale, which is why it is so fast and small.
The Bottom Line
X-Lens proves that you don't need a giant, slow computer to understand 3D space with mixed cameras. By using a smart, geometry-aware design and training on a massive, high-quality synthetic dataset, it achieves state-of-the-art accuracy while being small enough to run on edge devices. It's a step toward robots that can truly "see" the world in 3D, in real-time, without needing a supercomputer in their backpack.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.