Spaces:
Running
Running
Update app.py
Browse files
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
|
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:
|