AI Map de profondeur et photo 3D
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.
S'exécute dans votre navigateur. Vos fichiers ne quittent jamais votre appareil. Voir comment vérifier
…
Comment faire
- 1Ajouter une photo
Choisissez une image avec un premier plan et un fond clairs.
- 2Charger le modèle
Agree to download about 27 MB once.
- 3Vérifiez la profondeur .
Passez à la vue gris ou couleur de carte de profondeur.
- 4Définissez le mouvement 3D
Choisissez le chemin, le mouvement et zoom.
- 5Essayez le portrait flou
Choisissez une profondeur de mise au point et la force du flou.
- 6Exportation
Téléchargez le GIF 3D, la profondeur PNG ou la photo floue.
À propos de cet outil
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.
Exemple concret
Une photo de chat sur un canapé de 4000 x 3000: le modèle prend environ 3 secondes, le chat est lumineux dans la carte de profondeur et le mur sombre; une trajectoire circulaire avec mouvement 20 et zoom 106 pour cent fait un GIF 24 images, 540 px d'environ 2 MB.
L'essentiel
- Catégorie: Images
- Fonctionne dans votre navigateur, sans inscription, sans envoi.
- Ce que vous saisissez reste sur votre appareil.
- Disponible en anglais.
- Contenu révisé pour la dernière fois:
- Source officielle: Yang et al., Depth Anything V2 (2024)
Questions fréquentes
C'est quoi une carte de profondeur ?
Une image grise où la luminosité signifie distance: brillante pour près, sombre pour loin. Les outils 3D l'utilisent pour séparer les couches.
La profondeur est en mètres ?
Non, le modèle donne une profondeur relative qui suffit pour les effets mais pas pour mesurer.
Quelle est la taille du modèle ?
About 27 MB, downloaded once from this site and cached by your browser.
Pourquoi les bords s'étirent dans l'animation 3D ?
En déplaçant l'objet à proximité, on découvre un arrière-plan que la photo n'a jamais montré.
Je peux utiliser la carte de profondeur dans Blender ou Photoshop ?
Oui, téléchargez le PNG et utilisez-le comme une carte de déplacement ou de profondeur; inversez-la si votre logiciel s'attend à ce que le blanc soit loin.
Ma photo a été envoyée quelque part ?
Non, le modèle fonctionne localement dans votre navigateur.
