def resize_bbox()

in src/lambda/notification_function.py [0:0]


def resize_bbox(img, bbox):
    width, height = img.size
    return {
        'Left': int(bbox['Left'] * width),
        'Top': int(bbox['Top'] * height),
        'Height': int(bbox['Height'] * height),
        'Width': int(bbox['Width'] * width)
    }