Spaces:
Running
Running
Update app.py
Browse files
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 = [[0,0,0]]
|
200 |
+
uv = [[0,0]]
|
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]
|