import depthai as dai

PRIMARY_COLOR = dai.Color(
    float(21 / 255), float(127 / 255), float(88 / 255), float(1.0)
)
TRANSPARENT_PRIMARY_COLOR = dai.Color(
    float(21 / 255), float(127 / 255), float(88 / 255), float(0.2)
)
SECONDARY_COLOR = dai.Color(
    float(240 / 255), float(240 / 255), float(240 / 255), float(1.0)
)
FONT_COLOR = dai.Color(float(255 / 255), float(255 / 255), float(255 / 255), float(1.0))
FONT_SIZE_PER_HEIGHT = 1 / 30
SMALLER_FONT_SIZE_PER_HEIGHT = FONT_SIZE_PER_HEIGHT / 2
FONT_BACKGROUND_COLOR = dai.Color(0.0, 0.0, 0.0, 0.0)
KEYPOINT_COLOR = dai.Color(0.0, 1.0, 1.0, 1.0)
KEYPOINT_THICKNESS_PER_RESOLUTION = 1 / 300
SMALLER_KEYPOINT_THICKNESS_PER_RESOLUTION = KEYPOINT_THICKNESS_PER_RESOLUTION / 2
DETECTION_CORNER_SIZE = 0.04
DETECTION_BORDER_THICKNESS_PER_RESOLUTION = 1 / 300
SMALLER_DETECTION_THRESHOLD = DETECTION_CORNER_SIZE * 3
SMALLER_DETECTION_CORNER_SIZE = DETECTION_CORNER_SIZE / 2
SMALLER_DETECTION_BORDER_THICKNESS_PER_RESOLUTION = (
    DETECTION_BORDER_THICKNESS_PER_RESOLUTION / 2
)
