huntrezz commited on
Commit
772e909
·
verified ·
1 Parent(s): dcf5ae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -52,6 +52,9 @@ def plot_depth_map(depth_map, original_image):
52
 
53
  ax.plot_surface(x, y, depth_map, facecolors=colors, shade=False)
54
  ax.set_zlim(0, 1)
 
 
 
55
  plt.axis('off')
56
  plt.close(fig)
57
 
 
52
 
53
  ax.plot_surface(x, y, depth_map, facecolors=colors, shade=False)
54
  ax.set_zlim(0, 1)
55
+
56
+ # Adjust the view to look down at an angle from a higher position
57
+ ax.view_init(elev=45, azim=180) # 180-degree rotation and a higher angle
58
  plt.axis('off')
59
  plt.close(fig)
60