AI kina Ramani na Picha 3D
Badilisha picha ya gorofa kuwa athari ya 3D: mfano wa AI hukadiria kina cha kila pixel, kisha kamera inaonekana kusonga karibu na eneo hilo.
Hufanya kazi kwenye kivinjari chako. Faili zako hazitoki kamwe kwenye kifaa. Tazama jinsi ya kuthibitisha
…
Jinsi ya kufanya
- 1Ongeza picha
Chagua picha iliyo wazi mbele na nyuma.
- 2Kufunga mfano
Kukubaliana kupakua kuhusu 27 MB mara moja.
- 3Angalia kina
Badilisha mtazamo kwa rangi kijivu au kina ramani.
- 4Weka mwendo 3D
Chagua njia, harakati na zoom.
- 5Jaribu picha blur
Chagua kina cha umakini na nguvu ya kufifia.
- 6Mauzo ya nje
Pakua GIF 3D, kina PNG au picha blurred.
Kuhusu zana hii
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.
Mfano uliotatuliwa
Picha ya paka kwenye sofa yenye ukubwa wa 4000 x 3000: mfano huchukua sekunde 3, paka ni mkali katika ramani ya kina na ukuta ni giza; njia ya duara iliyo na mwendo 20 na zoom ya asilimia 106 hufanya picha ya GIF ya muundo wa 24 na px 540 za MB 2.
Kwa ufupi
- Kategoria: Picha
- Hufanya kazi kwenye kivinjari, bila usajili, bila kupakia.
- Taarifa unazoingiza hubaki kwenye kifaa chako.
- Inapatikana kwa Kiingereza.
- Maudhui yalikaguliwa mwisho:
- Chanzo rasmi: Yang et al., Depth Anything V2 (2024)
Maswali yanayoulizwa mara kwa mara
Ramani ya kina ni nini?
Picha ya kijivu ambapo mwangaza maana umbali: mkali kwa karibu, giza kwa mbali. zana 3D matumizi yake ili kutenganisha tabaka.
Je, kina ni katika mita?
Hapana, mfano huo unaonyesha kina cha kiasi ambacho kinatosha kwa madhara lakini si kwa kupima.
Mfano huo ni mkubwa kadiri gani?
Karibu 27 MB, kupakuliwa mara moja kutoka tovuti hii na cached na browser yako.
Kwa nini kingo huinuka katika uhuishaji wa 3D?
Kuhamisha kitu karibu inaonyesha background kwamba picha kamwe alionyesha.
Naweza kutumia ramani ya kina katika Blender au Photoshop?
Ndiyo. Pakua PNG na kuitumia kama mapato ya upunguzaji au kina; kugeuza ikiwa programu yako inatarajia nyeupe kwa mbali.
Je, picha yangu imetumwa mahali popote?
La, mfano huo unaendeshwa ndani ya kivinjari chako.
