Skip to content

Commit 6020dfd

Browse files
committed
updated README.md
1 parent 052ad84 commit 6020dfd

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ To generate realistic depth maps `from a single image`, this script uses code an
99

1010
[Rembg](https://github.com/danielgatis/rembg) by [@DanielGatis](https://github.com/danielgatis) support added by [@graemeniedermayer](https://github.com/graemeniedermayer), using [U-2-Net](https://github.com/xuebinqin/U-2-Net) by [@xuebinqin](https://github.com/xuebinqin) to remove backgrounds.
1111

12-
## Examples
12+
## Depthmap Examples
1313
[![screenshot](examples.png)](https://raw.githubusercontent.com/thygate/stable-diffusion-webui-depthmap-script/main/examples.png)
1414

15+
## 3D Photo Inpainting Examples
16+
[![video](https://img.youtube.com/vi/jRmVkIMS-SY/0.jpg)](https://www.youtube.com/watch?v=jRmVkIMS-SY)
17+
video by [@graemeniedermayer](https://github.com/graemeniedermayer)
18+
19+
## Stereo Image SBS and Anaglyph Examples
20+
![](https://user-images.githubusercontent.com/54073010/210012661-ef07986c-2320-4700-bc54-fad3899f0186.png)
21+
images generated by [@semjon00](https://github.com/semjon00) from CC0 photos, more examples [here](https://github.com/thygate/stable-diffusion-webui-depthmap-script/pull/56#issuecomment-1367596463).
22+
1523
## Changelog
1624
* v0.3.7 new features
1725
* [rembg](https://github.com/danielgatis/rembg) Remove Background [PR](https://github.com/thygate/stable-diffusion-webui-depthmap-script/pull/78) by [@graemeniedermayer](https://github.com/graemeniedermayer) merged
@@ -167,7 +175,7 @@ If you often get out of memory errors when computing a depthmap on GPU while usi
167175

168176
### For viewing on 3D devices
169177

170-
* SBS Stereo images can easily be viewed in 3D on VR devices, even cheap ones that use a smartphone like [Google Cardboard](https://arvr.google.com/cardboard/).
178+
* SBS Stereo images can easily be viewed in 3D on VR devices, even cheap ones that use a smartphone like [Google Cardboard](https://arvr.google.com/cardboard/). To view an SBS image, you may simply display it on the phone screen and then insert the phone into the headset. A more convenient option may be to stream the picture from the computer screen to the phone using Sunshine. You may want to change resolution to match phone's aspect ratio. If you decide to buy a headset, pay attention to the lens' size - usually headsets with larger lenses work the best.
171179

172180
* Simple interactive depthmap viewer for Looking Glass using three. LIVE link : [https://thygate.github.io/depthmap-viewer-three-lookingglass](https://thygate.github.io/depthmap-viewer-three-lookingglass) (Instructions: Drag a combined-rgb-and-depth-horizontally image into the window to view it)
173181

@@ -180,6 +188,11 @@ Demonstration videos : (1) https://www.youtube.com/watch?v=vfu5yzs_2EU , (2) htt
180188

181189
[![video](https://img.youtube.com/vi/vfu5yzs_2EU/1.jpg)](https://www.youtube.com/watch?v=vfu5yzs_2EU) [![video](https://img.youtube.com/vi/AeDngG9kQNI/2.jpg)](https://www.youtube.com/watch?v=AeDngG9kQNI)
182190

191+
* To view the 3D-inpainted mesh in blender:
192+
* import the PLY file
193+
* Set camera to origin (0, 0, 0) and pointing up to align it with the mesh
194+
* adjust camera FOV to match the mesh
195+
* Add a 'Color Attribute' Node and connect it to the shader color input
183196

184197
## Forks and Related
185198
* Generate normal maps from depth maps : [stable-diffusion-webui-normalmap-script](https://github.com/graemeniedermayer/stable-diffusion-webui-normalmap-script) by [@graemeniedermayer](https://github.com/graemeniedermayer)

0 commit comments

Comments
 (0)