AI-Tiefe Karte und 3D Foto
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.
Läuft in Ihrem Browser. Ihre Dateien verlassen nie Ihr Gerät. So prüfen Sie es
…
So geht's
- 1Ein Foto hinzufügen
Wählen Sie ein Bild mit klarem Vordergrund und Hintergrund.
- 2Das Modell wird geladen
Ich werde mir vorstellen, dass wir einmal 27 MB herunterladen.
- 3Überprüfen Sie die Tiefe .
Die Ansicht auf Grau- oder Farbtiefenkarte umstellen.
- 4Die 3D-Bewegung einstellen
Wählen Sie den Weg, Bewegung und Zoom.
- 5Versuchen Sie es mit Portraitblur
Wählen Sie eine Fokustiefe und Unschärfe.
- 6Ausfuhren
Laden Sie das 3D-GIF, die Tiefe PNG oder das verschwommene Foto herunter.
Über dieses Tool
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.
Rechenbeispiel
Ein 4000 x 3000 Foto einer Katze auf einem Sofa: Das Modell dauert etwa 3 Sekunden, die Katze ist hell in der Tiefenkarte und die Wand dunkel; ein Kreisweg mit Bewegung 20 und Zoom 106 Prozent erzeugt einen 24-Framen-GIF von 540 px von ca. 2 MB.
Kurzinfos
- Kategorie: Bilder
- Läuft in Ihrem Browser, ohne Anmeldung, ohne Upload.
- Ihre Eingaben bleiben auf Ihrem Gerät.
- Auf Englisch verfügbar.
- Inhalt zuletzt geprüft:
- Offizielle Quelle: Yang et al., Depth Anything V2 (2024)
Häufig gestellte Fragen
Was ist eine Tiefenkarte?
Ein graues Bild, wo Helligkeit die Entfernung bedeutet: hell für nah, dunkel für fern. 3D-Tools verwenden es, um Schichten zu trennen.
Ist die Tiefe in Metern?
Nein, das Modell gibt relative Tiefe an, die für Effekte ausreicht, aber nicht für Messungen.
Wie groß ist das Modell?
Ungefähr 27 MB, einmal von dieser Seite heruntergeladen und in Ihrem Browser zwischengespeichert.
Warum dehnen sich die Kanten in der 3D-Animation aus?
Bewegung der Nähe zeigt Hintergrund, den das Foto nie gezeigt hat.
Kann ich die Tiefenkarte in Blender oder Photoshop verwenden?
Ja. Laden Sie die PNG herunter und verwenden Sie sie als Verlagerungs- oder Tiefenkarte; umkehren Sie, wenn Ihre Software weiß für weit erwartet.
Ist mein Foto irgendwohin geschickt worden?
Nein, das Modell läuft lokal in Ihrem Browser.
