in src/webcam_client.py [0:0]
def resize_bbox(img, bbox):
return {
'Left': int(bbox['Left'] * img.shape[1]),
'Top': int(bbox['Top'] * img.shape[0]),
'Height': int(bbox['Height'] * img.shape[0]),
'Width': int(bbox['Width'] * img.shape[1])
}