ritwikraha
commited on
Commit
•
cb208a9
1
Parent(s):
64a1b11
add: markdown and references
Browse files- app.py +15 -1
- assets/pipeline.png +0 -0
app.py
CHANGED
@@ -244,7 +244,12 @@ def show_rendered_image(r,theta,phi):
|
|
244 |
return(rgb[0], depth[0])
|
245 |
|
246 |
# app.py text matter starts here
|
247 |
-
st.title('NeRF:
|
|
|
|
|
|
|
|
|
|
|
248 |
# set the values of r theta phi
|
249 |
r = 4.0
|
250 |
theta = st.slider('Enter a value for theta',min_value = 0.0,max_value = 360.0)
|
@@ -263,6 +268,15 @@ 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 |
|
268 |
|
|
|
244 |
return(rgb[0], depth[0])
|
245 |
|
246 |
# app.py text matter starts here
|
247 |
+
st.title('NeRF:3D volumetric rendering with NeRF')
|
248 |
+
st.markdown("Authors: [Aritra Roy Gosthipathy](https://twitter.com/ariG23498) and [Ritwik Raha](https://twitter.com/ritwik_raha)")
|
249 |
+
st.markdown("## Description")
|
250 |
+
st.markdown("NeRF proposes an ingenious way to synthesize novel views of a scene by modelling the volumetric scene function through a neural network.")
|
251 |
+
st.markdown("![pipeline](assets/pipeline.png)")
|
252 |
+
st.markdown("## Interactive Demo")
|
253 |
# set the values of r theta phi
|
254 |
r = 4.0
|
255 |
theta = st.slider('Enter a value for theta',min_value = 0.0,max_value = 360.0)
|
|
|
268 |
depth = tf.keras.utils.array_to_img(depth[..., None])
|
269 |
st.image(depth, caption = "Depth",clamp = True, width = 300)
|
270 |
|
271 |
+
st.markdown("## Tutorials")
|
272 |
+
st.markdown("- [Keras](https://keras.io/examples/vision/nerf/)")
|
273 |
+
st.markdown("- [PyImageSearch NeRF 1](https://www.pyimagesearch.com/2021/11/10/computer-graphics-and-deep-learning-with-nerf-using-tensorflow-and-keras-part-1/)")
|
274 |
+
st.markdown("- [PyImageSearch NeRF 2](https://www.pyimagesearch.com/2021/11/17/computer-graphics-and-deep-learning-with-nerf-using-tensorflow-and-keras-part-2/)")
|
275 |
+
st.markdown("- [PyImageSearch NeRF 3](https://www.pyimagesearch.com/2021/11/24/computer-graphics-and-deep-learning-with-nerf-using-tensorflow-and-keras-part-3/)")
|
276 |
+
|
277 |
+
st.markdown("## Credits")
|
278 |
+
st.markdown("- [PyImageSearch](https://www.pyimagesearch.com/)")
|
279 |
+
st.markdown("- [JarvisLabs.ai](https://jarvislabs.ai/)")
|
280 |
|
281 |
|
282 |
|
assets/pipeline.png
ADDED