JingShiang Yang commited on
Commit
72e1ca6
·
1 Parent(s): ed7e522

Set process_res to 1024 for higher quality

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def analyze_depth(image):
19
  return None
20
 
21
  # Run inference
22
- prediction = model.inference([image])
23
 
24
  # 取得深度圖 [H, W]
25
  depth = prediction.depth[0]
 
19
  return None
20
 
21
  # Run inference
22
+ prediction = model.inference([image], process_res=1024)
23
 
24
  # 取得深度圖 [H, W]
25
  depth = prediction.depth[0]