AI Depth Map dan Foto 3D

Ubah foto datar menjadi efek 3D: model AI memperkirakan kedalaman setiap piksel, kemudian kamera tampaknya bergerak di sekitar adegan.

Berjalan di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa

…

Cara melakukannya

  1. 1
    Tambahkan foto

    Pilihlah gambar dengan latar depan dan belakang yang jelas.

  2. 2
    Muat model

    Setuju untuk mengunduh sekitar 27 MB sekali.

  3. 3
    Periksa kedalaman

    Ubah tampilan ke peta kedalaman abu-abu atau warna.

  4. 4
    Atur gerakan 3D

    Pilih jalur, gerakan dan zoom.

  5. 5
    Cobalah gambar kabur

    Pilih kedalaman fokus dan kekuatan kabur.

  6. 6
    Ekspor

    Unduh GIF 3D, PNG kedalaman atau foto kabur.

Tentang alat ini

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.

Contoh perhitungan

Foto kucing di sofa berukuran 4000 x 3000: modelnya memakan waktu sekitar 3 detik, kucing terang dalam peta kedalaman dan dinding gelap; jalur lingkaran dengan gerakan 20 dan zoom 106 persen membuat GIF 24 frame, 540 px sekitar 2 MB.

Fakta singkat

Pertanyaan yang sering diajukan

Apa itu peta kedalaman?

Gambar abu-abu di mana kecerahan berarti jarak: terang untuk dekat, gelap untuk jauh. Alat 3D menggunakannya untuk memisahkan lapisan.

Apakah kedalaman dalam meter?

Tidak, model memberikan kedalaman relatif yang cukup untuk efek tapi tidak untuk pengukuran.

Seberapa besar modelnya?

Sekitar 27 MB, diunduh sekali dari situs ini dan disimpan oleh browser Anda.

Mengapa tepi membentang dalam animasi 3D?

Memindahkan objek dekat mengungkapkan latar belakang yang tidak pernah ditunjukkan foto.

Bisakah aku menggunakan peta kedalaman di Blender atau Photoshop?

Ya. Unduh PNG dan gunakan sebagai peta perpindahan atau kedalaman; membalikkannya jika perangkat lunak Anda mengharapkan putih untuk jauh.

Apakah foto saya dikirim ke mana-mana?

Tidak, modelnya berjalan secara lokal di browsermu.

Sepenuhnya gratisTanpa biaya, tanpa daftar
File tetap pribadiSemuanya berjalan di browser Anda
Mudah dalam bahasa AndaTersedia dalam banyak bahasa