adpro commited on
Commit
e3a3539
verified
1 Parent(s): c3ff149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ async def upload_image(file: UploadFile = File(...)):
33
 
34
  # Chu岷﹏ h贸a depth map
35
  depth_map = cv2.normalize(depth_map, None, 0, 255, cv2.NORM_MINMAX).astype(np.uint8)
36
- depth_resized = cv2.resize(depth_map, (128, 64))
37
 
38
  # M茫 h贸a 岷h th脿nh JPEG
39
  _, buffer = cv2.imencode(".jpg", depth_resized)
 
33
 
34
  # Chu岷﹏ h贸a depth map
35
  depth_map = cv2.normalize(depth_map, None, 0, 255, cv2.NORM_MINMAX).astype(np.uint8)
36
+ depth_resized = cv2.resize(depth_map, (160, 120))
37
 
38
  # M茫 h贸a 岷h th脿nh JPEG
39
  _, buffer = cv2.imencode(".jpg", depth_resized)