- Depth Anything V2 support, thanks @graemeniedermayer!
- Tiling mode
- Reduced VRAM consumption for Depth Anything, as well as for ZoeDepth k and nk
- Some bugfixes
- Support for Depth Anything.
- Compatibility with stable-diffusion-webui 1.6.0
- Added an option to process videos directly from a video file. This leads to better results than batch-processing individual frames of a video. Allows generating depthmap videos, that can be used in further generations as custom depthmap videos.
- UI improvements.
- Extra stereoimage generation modes - enable in extension settings if you want to use them.
- New stereoimage generation parameter - offset exponent. Setting it to 1 may produce more realistic outputs.
- Added UI options for 2 additional rembg models.
- Heatmap generation UI option is hidden - if you want to use it, please activate it in the extension settings.
- Bugfixes.
- Added ability to run DepthMap without WebUI. (Use main.py. Make sure all the dependencies are installed. The support is not feature-complete.)
- NormalMap generation
- UI improvements
- Improved Batch from Directory, Clip and renormalize DepthMap
- Slightly changed the behaviour of various options
- Extension may partially work even if some of the dependencies are unmet
- Fixed stereo image generation
- Other bugfixes
- 3D model viewer (Experimental!)
- simple and fast (occluded) 3D mesh generation, support for equirectangular projection (accurate results with ZoeDepth models only, no boost, no custom maps)
- default output format is now obj for inpainted mesh and simple mesh
- ZoeDepth support (with boost), 3 new models, best results so far
- better heatmap
- use existing/custom depthmaps in output dir for batch mode
- custom depthmap support for single file
- wavefront obj output support for inpainted mesh (enabled in settings)
- option to generate all stereo formats at once
- bugfix: convert single channel input image to rgb
- renamed midas imports to fix conflict with deforum
- ui cleanup
- bugfix in remove background path
- rembg Remove Background PR by @graemeniedermayer merged
- setting to flip Left/Right SBS images
- added missing parameter for 3d inpainting (repeat_inpaint_edge)
- option to generate demo videos with mesh
- implemented binary ply file format for the inpainted 3D mesh, big reduction in filesize and save/load times.
- added progress indicators to the inpainting process
- create path to 3dphoto models before download (see issue)
- depth clipping option (original idea by @Extraltodeus)
- by popular demand, 3D-Photo-Inpainting is now implemented
- generate inpainted 3D mesh (PLY) and videos of said mesh
- updated to midas 3.1, bringing 2 new depth models (the 512 one eats VRAM for breakfast!)
- fix Next-ViT dependency issue for new installs
- extension no longer clones repositories, all dependencies are now contained in the extension
- several bug fixes for apple silicon and other machines without cuda
- NEW Stereo Image Generation techniques for gap filling by @semjon00 using polylines. (See here) Significant improvement in quality.
- small speed increase for anaglyph creation
- clone midas repo before midas 3.1 to fix issue (see here)
- New improved technique for generating stereo images and balancing distortion between eyes by @semjon00 (See here)
- Substantial speedup of stereo image generation code using numba JIT
- 3D Stereo (side-by-side) and red/cyan anaglyph image generation.
(Thanks to @sina-masoud-ansari for the tip! Discussion here)
- boost (pix2pix) now also able to compute on cpu
- res101 able to compute on cpu
- Depth Tab now available for easier stand-alone (batch) processing
- added link to repo so more people find their way to the instructions.
- boost rmax setting
- error checking on model download (now with progressbar)
- multi-resolution merging is now implemented, significantly improving results!
- res101 can now also compute on CPU
- path error on linux fixed
- added (experimental) support for AdelaiDepth/LeReS (GPU Only!)
- new option to view depthmap as heatmap
- optimised ui layout
- Correct seed is now used in filename and pnginfo when running batches. (see issue)
- the script is now an extension, enabling auto installation.
- sd model moved to system memory while computing depthmap
- memory leak/fragmentation issue fixed
- recover from out of memory error
- net size can now be set as width and height, option to match input size, sliders now have the same range as generation parameters. (see usage below)
- better error handling
- batch img2img now works (see issue)
- generation parameters now only saved when enabled in settings
- model memory freed explicitly at end of script
- option to invert depthmap (black=near, white=far), as required by some viewers.
- saving as any format other than PNG now always produces an 8 bit, 3 channel RGB image. A single channel 16 bit image is only supported when saving as PNG. (see issue)
- added support for
--no-half
. Now also works with cards that don't support half precision like GTX 16xx. (verified)
- bugfix where some controls where not visible (see issue)
- network size slider. higher resolution depth maps (see usage below)
- overflow issue (see here for details and examples of artifacts)
- when not combining, depthmap is now saved as single channel 16 bit
- initial version: script mode, supports generating depthmaps with 4 different midas models