mini project · mridulmerges

Vision Scan

A Tesla has no lidar. It sees the world with cameras and AI, and turns pixels into a 3D map of what's around it. This does the same thing with your phone.

How Tesla does it vs. how this does it

  1. Cameras, not lasers.Tesla: 8 cameras around the car. Here: 1 camera per phone. More phones, more cameras.
  2. AI guesses depth.Tesla: a neural network trained on millions of drives. Here: Depth Anything V2, a small open model that runs inside your browser.
  3. Pixels become 3D.Each pixel + its distance + where the camera points = one point in space.
  4. Space becomes cubes.Tesla's "occupancy network" splits the world into little blocks: filled or empty. Here: 10 cm cubes.
  5. Know where you are.Tesla counts wheel turns. Your phone counts footsteps and reads its gyro.
  6. Get the size right.Tesla knows how high each camera sits. You hold the phone at chest height, so the floor tells the AI how far "far" is.

Everything runs on your device. Camera frames are never uploaded. In a shared room, only map cubes and small preview pictures are passed between your own screens, and nothing is saved.