ritwikraha
commited on
Commit
•
64a1b11
1
Parent(s):
aa33259
check
Browse files
app.py
CHANGED
@@ -251,17 +251,17 @@ theta = st.slider('Enter a value for theta',min_value = 0.0,max_value = 360.0)
|
|
251 |
phi = -30.0
|
252 |
color, depth = show_rendered_image(r, theta, phi)
|
253 |
|
254 |
-
col1, col2= st.columns(
|
255 |
|
256 |
with col1:
|
257 |
color = tf.keras.utils.array_to_img(color)
|
258 |
|
259 |
-
st.image(color, caption = "Color",clamp = True, width =
|
260 |
|
261 |
|
262 |
with col2:
|
263 |
depth = tf.keras.utils.array_to_img(depth[..., None])
|
264 |
-
st.image(depth, caption = "Depth",clamp = True, width =
|
265 |
|
266 |
|
267 |
|
|
|
251 |
phi = -30.0
|
252 |
color, depth = show_rendered_image(r, theta, phi)
|
253 |
|
254 |
+
col1, col2= st.columns(2)
|
255 |
|
256 |
with col1:
|
257 |
color = tf.keras.utils.array_to_img(color)
|
258 |
|
259 |
+
st.image(color, caption = "Color",clamp = True, width = 300)
|
260 |
|
261 |
|
262 |
with col2:
|
263 |
depth = tf.keras.utils.array_to_img(depth[..., None])
|
264 |
+
st.image(depth, caption = "Depth",clamp = True, width = 300)
|
265 |
|
266 |
|
267 |
|