freealise commited on
Commit
7662c5b
1 Parent(s): df7b977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -196,8 +196,8 @@ def pano_depth_to_world_points(depth, scale):
196
  lon, lat = np.meshgrid(lon, lat)
197
 
198
  i = 0
199
- pts3d = []
200
- uv = []
201
  while i < 9:
202
  d_lon = (np.random.rand(depth.shape[0]*depth.shape[1]) - 0.5) * np.pi*2 / depth.shape[1]
203
  d_lat = (np.random.rand(depth.shape[0]*depth.shape[1]) - 0.5) * np.pi / depth.shape[0]
 
196
  lon, lat = np.meshgrid(lon, lat)
197
 
198
  i = 0
199
+ pts3d = [[]]
200
+ uv = [[]]
201
  while i < 9:
202
  d_lon = (np.random.rand(depth.shape[0]*depth.shape[1]) - 0.5) * np.pi*2 / depth.shape[1]
203
  d_lat = (np.random.rand(depth.shape[0]*depth.shape[1]) - 0.5) * np.pi / depth.shape[0]