fffiloni commited on
Commit
9f48aff
1 Parent(s): 4128b26

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.arctan2(tail[1] - tip[1], tail[0] - tip[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.degrees(np.arctan2(tail[1] - tip[1], tail[0] - tip[0]))*-1)
47
 
48
  def get_max_distance_point(cnt, tip):
49
  max_distance = 0