bartduis commited on
Commit
e277a17
·
verified ·
1 Parent(s): 7204296

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -192,9 +192,9 @@ def mask_rembg(input_img):
192
  def process_image(input_img):
193
 
194
  rotated = False
195
- if input_img.shape[0] > input_img.shape[1]:
196
- input_img = cv2.rotate(input_img, cv2.ROTATE_90_COUNTERCLOCKWISE)
197
- rotated = True
198
  input_img = cv2.resize(input_img, (640, 480))
199
  mask, rgb = mask_rembg(input_img)
200
  depth_dict = depth_moge(input_img)
 
192
  def process_image(input_img):
193
 
194
  rotated = False
195
+ # if input_img.shape[0] > input_img.shape[1]:
196
+ # input_img = cv2.rotate(input_img, cv2.ROTATE_90_COUNTERCLOCKWISE)
197
+ # rotated = True
198
  input_img = cv2.resize(input_img, (640, 480))
199
  mask, rgb = mask_rembg(input_img)
200
  depth_dict = depth_moge(input_img)