Spaces:
Running
Running
add assets
Browse files- .gitignore +0 -1
- app.py +11 -32
- assets/3m_tape.png +3 -0
- assets/ace.png +3 -0
- assets/alphabet.png +3 -0
- assets/bifidus.png +3 -0
- assets/cole_hardware.png +3 -0
- assets/d_rose.png +3 -0
- assets/fem.png +3 -0
- assets/horse.png +3 -0
- assets/martin_wedge.png +3 -0
- assets/rhino.png +3 -0
.gitignore
CHANGED
@@ -164,7 +164,6 @@ cython_debug/
|
|
164 |
*.sif
|
165 |
blender-4.2.5-linux-x64*/
|
166 |
*.zip
|
167 |
-
*.png
|
168 |
*.jpg
|
169 |
*.log
|
170 |
intermediate/
|
|
|
164 |
*.sif
|
165 |
blender-4.2.5-linux-x64*/
|
166 |
*.zip
|
|
|
167 |
*.jpg
|
168 |
*.log
|
169 |
intermediate/
|
app.py
CHANGED
@@ -167,12 +167,6 @@ with gradio.Blocks(
|
|
167 |
title="LaRI Demo",
|
168 |
) as demo:
|
169 |
|
170 |
-
# gradio.Markdown(
|
171 |
-
# "<h1 style='text-align: center;'>LaRI: Layered Ray Intersections for Single-view 3D Geometric Reasoning</h1>",
|
172 |
-
# elem_id="title",
|
173 |
-
# )
|
174 |
-
|
175 |
-
|
176 |
gradio.HTML(
|
177 |
"""
|
178 |
<h1 style="text-align: center; font-size: 28px; font-weight: bold; margin-bottom: 1em;">
|
@@ -181,29 +175,13 @@ with gradio.Blocks(
|
|
181 |
"""
|
182 |
)
|
183 |
|
184 |
-
# gradio.Markdown(
|
185 |
-
# """
|
186 |
-
# This is the official demo of Layered Ray Intersection (<a href="https://ruili3.github.io/lari/index.html" target="_blank" style="color: #2a9d8f;">LaRI</a>). For a quick start, click the images in 'Examples' and then click the 'Process' Button.
|
187 |
-
|
188 |
-
# You can try with your own images with following steps:
|
189 |
-
# - Load an image;
|
190 |
-
# - Click the 'Process' button;
|
191 |
-
# - Browse layered depth maps (z-channel of the resulting LaRI point map) by tunning 'Layer ID';
|
192 |
-
|
193 |
-
# Note that in '3D Point Cloud', different color denotes diffrent intersection layers, i.e., <b style="color: #FFBD1C;">layer 1</b>, <b style="color: #FB5607;">layer 2</b>, <b style="color: #F15BB5;">layer 3</b>, <b style="color: #8338EC;">layer 4</b>.
|
194 |
-
# """
|
195 |
-
# )
|
196 |
-
|
197 |
-
|
198 |
gradio.HTML(
|
199 |
"""
|
200 |
<p style="font-size: 16px; line-height: 1.6;">
|
201 |
This is the official demo of Layered Ray Intersection
|
202 |
-
(<a href="https://ruili3.github.io/lari/index.html" target="_blank" style="color: #
|
203 |
-
|
204 |
-
</
|
205 |
-
|
206 |
-
<p style="font-size: 16px; line-height: 1.6;">
|
207 |
You can try with your own images with the following steps:
|
208 |
<ul>
|
209 |
<li>Load an image</li>
|
@@ -211,14 +189,15 @@ with gradio.Blocks(
|
|
211 |
<li>Browse layered depth maps (z-channel of the resulting LaRI point map) by tuning 'Layer ID'</li>
|
212 |
</ul>
|
213 |
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
-
<p style="font-size: 16px; line-height: 1.6;">
|
216 |
-
Note that in <b>3D Point Cloud</b>, different colors denote different intersection layers:
|
217 |
-
<span style="color: #FFBD1C;"><b>Layer 1</b></span>,
|
218 |
-
<span style="color: #FB5607;"><b>Layer 2</b></span>,
|
219 |
-
<span style="color: #F15BB5;"><b>Layer 3</b></span>,
|
220 |
-
<span style="color: #8338EC;"><b>Layer 4</b></span>.
|
221 |
-
</p>
|
222 |
"""
|
223 |
)
|
224 |
|
|
|
167 |
title="LaRI Demo",
|
168 |
) as demo:
|
169 |
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
gradio.HTML(
|
171 |
"""
|
172 |
<h1 style="text-align: center; font-size: 28px; font-weight: bold; margin-bottom: 1em;">
|
|
|
175 |
"""
|
176 |
)
|
177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
gradio.HTML(
|
179 |
"""
|
180 |
<p style="font-size: 16px; line-height: 1.6;">
|
181 |
This is the official demo of Layered Ray Intersection
|
182 |
+
(<a href="https://ruili3.github.io/lari/index.html" target="_blank" style="color: #42aaf5">LaRI</a>). The current demo only supports object-level reconstruction.
|
183 |
+
|
184 |
+
<h3 style="color: #42aaf5;">Get Started</h3>
|
|
|
|
|
185 |
You can try with your own images with the following steps:
|
186 |
<ul>
|
187 |
<li>Load an image</li>
|
|
|
189 |
<li>Browse layered depth maps (z-channel of the resulting LaRI point map) by tuning 'Layer ID'</li>
|
190 |
</ul>
|
191 |
</p>
|
192 |
+
Note that in “3D Point Cloud”, different colors denote different intersection layers:
|
193 |
+
<span style="color: #FFBD1C;">Layer 1</span>,
|
194 |
+
<span style="color: #FB5607;">Layer 2</span>,
|
195 |
+
<span style="color: #F15BB5;">Layer 3</span>,
|
196 |
+
<span style="color: #8338EC;">Layer 4</span>.
|
197 |
+
|
198 |
+
<h3 style="color: #42aaf5;">Contact</h3>
|
199 |
+
If you have any question, feel free to create an issue in our <a href="https://github.com/ruili3/lari" target="_blank" style="color: #42aaf5;">GitHub Repo</a> ⭐
|
200 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
"""
|
202 |
)
|
203 |
|
assets/3m_tape.png
ADDED
![]() |
Git LFS Details
|
assets/ace.png
ADDED
![]() |
Git LFS Details
|
assets/alphabet.png
ADDED
![]() |
Git LFS Details
|
assets/bifidus.png
ADDED
![]() |
Git LFS Details
|
assets/cole_hardware.png
ADDED
![]() |
Git LFS Details
|
assets/d_rose.png
ADDED
![]() |
Git LFS Details
|
assets/fem.png
ADDED
![]() |
Git LFS Details
|
assets/horse.png
ADDED
![]() |
Git LFS Details
|
assets/martin_wedge.png
ADDED
![]() |
Git LFS Details
|
assets/rhino.png
ADDED
![]() |
Git LFS Details
|