Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
a2c4057
1
Parent(s):
2de2a54
app.py
CHANGED
|
@@ -212,10 +212,11 @@ def process_video(
|
|
| 212 |
points = np.asarray(pcd.points)
|
| 213 |
colors = np.asarray(pcd.colors) if pcd.has_colors() else None
|
| 214 |
|
| 215 |
-
|
| 216 |
-
continue
|
| 217 |
logger.info(f'points:{points.shape} ')
|
| 218 |
print(f'points:{points.shape}')
|
|
|
|
|
|
|
| 219 |
|
| 220 |
|
| 221 |
points[:, 2] = -points[:, 2]
|
|
|
|
| 212 |
points = np.asarray(pcd.points)
|
| 213 |
colors = np.asarray(pcd.colors) if pcd.has_colors() else None
|
| 214 |
|
| 215 |
+
|
|
|
|
| 216 |
logger.info(f'points:{points.shape} ')
|
| 217 |
print(f'points:{points.shape}')
|
| 218 |
+
if points.shape[0] == 0:
|
| 219 |
+
continue
|
| 220 |
|
| 221 |
|
| 222 |
points[:, 2] = -points[:, 2]
|