AI Depth Map and 3D Photo
Turn a flat photo into a 3D effect: an AI model estimates the depth of every pixel, then the camera seems to move around the scene.
Se ejecuta en tu navegador. Tus archivos nunca salen de tu dispositivo. Cómo comprobarlo
…
Cómo hacerlo
- 1Añadir una foto
Elija una imagen con un frente y fondo claros.
- 2Cargar el modelo
Aceptar descargar alrededor de 27 MB una vez.
- 3Comprueba la profundidad.
Cambiar la vista a gris o color mapa de profundidad.
- 4Establece el movimiento 3D
Elige el camino, movimiento y zoom.
- 5Prueba con borrosidad de retrato
Elige una profundidad de enfoque y fuerza de desenfoque.
- 6Exportación
Descargue el GIF 3D, la profundidad PNG o la foto borrosa.
Sobre esta herramienta
A single photo has no depth information, yet our brain easily sees which parts are near and which are far. Monocular depth estimation models learn to do the same from millions of pictures. Depth Anything V2 Small is one of the best compact models of this kind, released under the Apache-2.0 licence. This tool runs it in your browser and uses the depth map for three things: a 3D parallax animation, a depth map image for other software, and a portrait-style background blur.
The depth map
The model looks at your photo at about 518 pixels on the long side and outputs a relative depth value for each point: bright for near, dark for far. It is relative, not in metres, which is all you need for effects. You can view it in grey or in false colour, invert it (some 3D software expects white for far) and download it as a PNG at the size of your photo.
3D photo (parallax)
To fake a camera move, the tool shifts each pixel sideways by an amount that depends on its depth: near pixels move more than far ones, exactly as they would if you moved your head. The camera path can go left and right, up and down, or in a circle. A slight zoom hides the gaps that open at the edges of near objects. The GIF export renders a loop of frames at the width you choose, ready for social posts and messages.
Portrait blur
Choose the focus depth (100 percent is the nearest object) and the blur strength, and the tool blurs everything in front of or behind that depth, like a wide-aperture lens. Unlike a simple subject cut-out, it blurs gradually with distance.
The model and performance
The int8 version of the model is about 27 MB, downloaded once and cached. It runs on your processor with ONNX Runtime WebAssembly, which takes a few seconds per photo on a typical laptop and longer on phones. The photo is not uploaded.
Good subjects
Portraits, pets, products on a table, streets with clear foreground and background, landscapes with a close object. Scenes with strong depth layers look best in 3D.
Tips
Use 15 to 25 movement units for natural motion; large values stretch the edges. A circle path gives the classic "3D Facebook photo" look. For the GIF, 24 frames at about 540 px wide balance smoothness and size.
Limits
Depth is estimated, not measured. Glass, mirrors, sky and thin objects can be wrong. Large movements reveal stretched pixels behind near objects because the hidden background is not invented. Video export is not offered; use the GIF or animate the depth map in other software.
Ejemplo práctico
Una foto de un gato en un sofá de 4000 x 3000: el modelo dura unos 3 segundos, el gato es brillante en el mapa de profundidad y la pared oscura; una trayectoria circular con movimiento 20 y zoom del 106 por ciento hace un GIF de 24 fotogramas, 540 px de aproximadamente 2 MB.
Datos rápidos
- Categoría: Imágenes
- Funciona en tu navegador, sin registro y sin subir nada.
- Lo que introduces se queda en tu dispositivo.
- Disponible en inglés.
- Contenido revisado por última vez:
- Fuente oficial: Yang et al., Depth Anything V2 (2024)
Preguntas frecuentes
¿Qué es un mapa de profundidad?
Una imagen gris donde el brillo significa distancia: brillante para cerca, oscuro para lejos. Las herramientas 3D lo usan para separar capas.
¿La profundidad está en metros?
El modelo da una profundidad relativa, que es suficiente para efectos pero no para medir.
¿Qué tan grande es el modelo?
Aproximadamente 27 MB, descargado una vez desde este sitio y almacenado en caché por su navegador.
¿Por qué se estiran los bordes en la animación 3D?
Si se mueve el objeto cerca, se revela un fondo que la foto nunca mostró.
¿Puedo usar el mapa de profundidad en Blender o Photoshop?
Sí. Descargue el PNG y úselo como un mapa de desplazamiento o profundidad; invierta si su software espera blanco para lejos.
¿Se ha enviado mi foto a alguna parte?
No, el modelo se ejecuta localmente en tu navegador.
