def create_result(json_data, start, fps):
    """Transforms yolo prediction data to Veritone Object."""
    left = json_data['topleft']['x']
    top = json_data['topleft']['y']
    width = json_data['bottomright']['x'] - left
    height = json_data['bottomright']['y'] - top

    result = {
        'boundingPoly': {
            'left': left,
            'top': top,
            'width': width,
            'height': height
        },
        'confidence': json_data['confidence'].astype(float),
        'found': json_data['label'],
        'start': start * 1000,  # in ms
        'end': int((start + 1) * 1000 / fps),
        'type': 'object',
    }

    return result