fffiloni commited on
Commit
4128b26
1 Parent(s): 2f5e44a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def get_length(p1, p2):
43
  return line_length
44
 
45
  def get_clockwise_angle(tip, tail):
46
- return np.degrees(np.arctan2(tip[1] - tail[1], tip[0] - tail[0]))
47
 
48
  def get_max_distance_point(cnt, tip):
49
  max_distance = 0
 
43
  return line_length
44
 
45
  def get_clockwise_angle(tip, tail):
46
+ return np.arctan2(tail[1] - tip[1], tail[0] - tip[0])
47
 
48
  def get_max_distance_point(cnt, tip):
49
  max_distance = 0