Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
ff9477d
1
Parent(s):
718f181
Update app.py
Browse files
app.py
CHANGED
@@ -51,10 +51,6 @@ description = """
|
|
51 |
def predict_depth(image):
|
52 |
return model.infer_image(image)
|
53 |
|
54 |
-
import numpy as np
|
55 |
-
import trimesh
|
56 |
-
import tempfile
|
57 |
-
|
58 |
def generate_point_cloud(color_img, resolution):
|
59 |
depth_img = predict_depth(color_img[:, :, ::-1])
|
60 |
# 画像サイズの調整
|
|
|
51 |
def predict_depth(image):
|
52 |
return model.infer_image(image)
|
53 |
|
|
|
|
|
|
|
|
|
54 |
def generate_point_cloud(color_img, resolution):
|
55 |
depth_img = predict_depth(color_img[:, :, ::-1])
|
56 |
# 画像サイズの調整
|