Commit 970bcb75 authored by Manuel Günther's avatar Manuel Günther

fixed typo in angle_to_horizontal

parent 3a13d934
......@@ -17,7 +17,7 @@ def angle_to_horizontal(right, left):
The angle **in degrees** between the left and the right point
"""
return math.atan2(right[0] - left[0], right[1] - left[1]) * 108. / math.pi
return math.atan2(right[0] - left[0], right[1] - left[1]) * 180. / math.pi
def flip(src, dst = None):
......@@ -175,4 +175,3 @@ def shift(src, offset, dst = None, src_mask = None, dst_mask = None, fill_patter
# shift image by cropping
return crop(src, offset, dst=dst, src_mask=src_mask, dst_mask=dst_mask, fill_pattern=fill_pattern)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment