def sly_annotation_to_bbox(sly_label):
    rect: sly.Rectangle = sly_label.geometry.to_bbox()
    return [rect.top, rect.left, (rect.bottom - rect.top), (rect.right - rect.left)]
def sly_annotation_to_bbox(sly_label):
    rect: sly.Rectangle = sly_label.geometry.to_bbox()
    return [rect.top, rect.left, (rect.bottom - rect.top), (rect.right - rect.left)]