depthmap2mask
MiDaS
depthmap2mask | MiDaS | |
---|---|---|
26 | 27 | |
352 | 4,105 | |
- | 1.8% | |
2.7 | 2.4 | |
about 1 year ago | 3 months ago | |
Python | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
depthmap2mask
- Jessica Rabbit | Toon integration test
- Is there a Chroma Key embedding anywhere?
-
StableDiffusion locally, what am i doing wrong ? what settings should i use ? i am using img2img and keep getting these messed up results
for change background i suggest to use depth2mask.
-
Using SD as a green screen?
have you try with dept2mask?
-
Quick test of AI and Blender with camera projection.
Looks really good. Have you tried img2depth for the texturing? GitHub - Extraltodeus/depthmap2mask: Create masks out of depthmaps in img2img
-
Ideas for using SD to automatically enhance photographic portraits without completely distorting the face
have you try https://github.com/Extraltodeus/depthmap2mask ?
-
Deforum: FileNotFoundError: [Errno 2] No such file or directory:
No, and I don't need to. depthmap2mask works sloppy, I don't like it. It's much better to create mask for "Inpainting" using image-editing software. Here you can see how it's done. https://www.youtube.com/watch?v=dnIYTGW1m8w
- flowdas-meta missing from PYPI, can't pip install launch ? Impossible ?
-
The transformation no one asked for
Sent to img2img and used Depth Aware img2img mask with the model set to `midas_v21_small` so that I would hopefully affect as little of the image as possible. (after seeing the pants morph, I think it might have been better to just use inpaint)
- Me waiting for A1111 Depth2img to officially support custom depth maps.
MiDaS
-
How to Estimate Depth from a Single Image
The checkpoint below uses MiDaS, which returns the inverse depth map, so we have to invert it back to get a comparable depth map.
-
Distance estimation from monocular vision using deep learning
Hi, I have made use of the KITTI dataset for this, and yes it depends on objects of know sizes. Here I have defined the following classes: Car, Van, Truck, Pedestrian, Person_sitting, Cyclist, Tram, Misc, or DontCare and the predictions are pretty accurate for those classes. Even if it's not the same class, it still recognizes the object since I have made use of the coco names dataset here and that is used along with YOLO for object detection. And there are several already implemented projects that make use of deep learning models trained on 2D datasets to predict 3D distance. This was one of my inspirations for this project: https://blogs.nvidia.com/blog/2019/06/19/drive-labs-distance-to-object-detection/ Furthermore, there are well-documented and researched papers like DistYOLO or MiDaS that makes use of deep learning for depth estimation
-
OMPR V0.6.10 update
-Added AI image depth generator Create your own depth map image at a click of a button. Using the awesome MIDAS3.1 https://github.com/isl-org/MiDaS as the backend and the model "dpt_beit_large_512" for the highest quality depth map. Video and GIF depth map generators coming out next together with the Depth movie player feature.
-
AI that converts a regular 2d image to stereoscopic
It uses MiDaS. That extension may be the most accessible way to use it at home. IDK.
-
Idea: training on magiceye images
Here's the project homepage https://github.com/isl-org/MiDaS
-
MiDaS v3_1 and DiscoDiffusion
The problem came up after MiDaS updated to version V3_1 on Dec 24th. Although the fix works fine, with the new version there are many changes, which for me produces slightly different results. I would like to able to produce results like before. I still clone the MiDaS repo, but then set it back to the last commit before the changes in december, which is 66882994a432727317267145dc3c2e47ec78c38a.
-
File not found error
try: from midas.dpt_depth import DPTDepthModel except: if not os.path.exists('MiDaS'): gitclone("https://github.com/isl-org/MiDaS.git") gitclone("https://github.com/bytedance/Next-ViT.git", f'{PROJECT_DIR}/externals/Next_ViT') if not os.path.exists('MiDaS/midas_utils.py'): shutil.move('MiDaS/utils.py', 'MiDaS/midas_utils.py') if not os.path.exists(f'{model_path}/dpt_large-midas-2f21e586.pt'): wget("https://github.com/intel-isl/DPT/releases/download/1_0/dpt_large-midas-2f21e586.pt", model_path) sys.path.append(f'{PROJECT_DIR}/MiDaS')
-
A quick demo to show how structurally coherent depth2img is compared to img2img using Automatic1111.
Cool. The repo for MiDaS is here. https://github.com/isl-org/MiDaS You can see that they partially trained the model on 3D movies Here's a list of the movies that were used to train it. I wonder if they'll be training a MiDaS v 4.0 as things have moved on quite a bit since it was released in Apr 2021?
-
Boosting Monocular Depth repo
We present a stand-alone implementation of our Merging Operator. This new repo allows using any pair of monocular depth estimations in our double estimation. This includes using separate networks for base and high-res estimations, using networks not supported by this repo (such as Midas-v3), or using manually edited depth maps for artistic use. This will also be useful for scientists developing CNN-based MDE as a way to quickly apply double estimation to their own network. For more details please take a look here.
-
DepthViewer is now live on Steam :)
I'll make the feature to export only the depthmap .png file. If you need the depthmap .png right now you can use the MiDaS python script.
What are some alternatives?
civitai - A repository of models, textual inversions, and more
stable-diffusion-webui-depthmap-script - High Resolution Depth Maps for Stable Diffusion WebUI
multi-subject-render - Generate multiple complex subjects all at once!
DenseDepth - High Quality Monocular Depth Estimation via Transfer Learning
stablediffusion - High-Resolution Image Synthesis with Latent Diffusion Models
stable-diffusion-webui - Stable Diffusion web UI
deeplearning4j-examples - Deeplearning4j Examples (DL4J, DL4J Spark, DataVec) [Moved to: https://github.com/deeplearning4j/deeplearning4j-examples]
3d-photo-inpainting - [CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
DiverseDepth - The code and data of DiverseDepth
Merge-Stable-Diffusion-models-without-distortion - Adaptation of the merging method described in the paper - Git Re-Basin: Merging Models modulo Permutation Symmetries (https://arxiv.org/abs/2209.04836) for Stable Diffusion
Insta-DM - Learning Monocular Depth in Dynamic Scenes via Instance-Aware Projection Consistency (AAAI 2021)