def METHOD_NAME(start, end, data_dict):
    """
    根据视频起始位置，以及标注的label,给这小段视频安排bbox检测标签
    方法，取交集，交集占到样本的一半或者标签的一半，即将该label赋给样本
    :param start: 起始帧号（含）
    :param end: 结束帧号（含）
    :param labels: 标注的label, 字符串形式
    :return:[[行为，x1,y1,x2,y2],]
    """
    if 'actions' not in data_dict:
        return []
    scale = data_dict['scale']
    gt_labels = []
    for action in data_dict['actions']:
        low = max(int(action['start']), start)
        high = min(int(action['end']), end)
        inter = 0 if low > high else high - low
        if inter > (end - start) * 0.7 or inter > (action['end']
                                                   - action['start']) * 0.7:
            boxes = inp_boxes(action['boxes'], low, high)
            box = boxes.mean(axis=0) / scale
            label = [action['label']] + box.tolist()
            gt_labels.append(label)
    return gt_labels