jay208 commited on
Commit
c7aca6d
·
1 Parent(s): b8b7444
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def find_bottommost_footpath_pixel(mask, topmost_pixel):
139
  def estimate_real_world_distance(depth_map, topmost_pixel, mask):
140
  """Estimate real-world distance between two pixels using depth information"""
141
 
142
- if topmost_pixel is None or depth_map is None:
143
  return None
144
 
145
  # Find the bottommost pixel perpendicular to the topmost pixel
 
139
  def estimate_real_world_distance(depth_map, topmost_pixel, mask):
140
  """Estimate real-world distance between two pixels using depth information"""
141
 
142
+ if topmost_pixel is None or depth_map is None:
143
  return None
144
 
145
  # Find the bottommost pixel perpendicular to the topmost pixel