import math


def calculate_angle(area, radius):
    """
    Calculate angle of OpenCV shape
    :param area: area of shape
    :param radius: outer radius of shape
    :return: angel of the shape
    """
    return (area / ((radius * radius) * math.pi)) * 360