fffiloni commited on
Commit
54b68aa
·
verified ·
1 Parent(s): 8f0ccb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def get_max_distance_point(cnt, tip):
46
  max_distance = 0
47
  max_point = None
48
 
49
- for [x, y] in cnt[:, 0, :]:
50
  distance = get_length((x, y), tip)
51
 
52
  if distance > max_distance:
 
46
  max_distance = 0
47
  max_point = None
48
 
49
+ for [x, y] in cnt:
50
  distance = get_length((x, y), tip)
51
 
52
  if distance > max_distance: