Spaces:
Running
on
Zero
Running
on
Zero
set plane distance
Browse files- app.py +1 -0
- cat-jam.mp4 +0 -0
app.py
CHANGED
@@ -114,6 +114,7 @@ def run_rerun(path_to_image):
|
|
114 |
height=depth.shape[0],
|
115 |
principal_point=(depth.shape[1] / 2, depth.shape[0] / 2),
|
116 |
camera_xyz=rr.ViewCoordinates.FLU,
|
|
|
117 |
),
|
118 |
)
|
119 |
except Exception as e:
|
|
|
114 |
height=depth.shape[0],
|
115 |
principal_point=(depth.shape[1] / 2, depth.shape[0] / 2),
|
116 |
camera_xyz=rr.ViewCoordinates.FLU,
|
117 |
+
image_plane_distance=depth.max(),
|
118 |
),
|
119 |
)
|
120 |
except Exception as e:
|
cat-jam.mp4
DELETED
Binary file (172 kB)
|
|