(path)
return [[fbox[1],fbox[0],fbox[3],fbox[2]]], (shape[1], shape[0])
Read bbox from crowd human pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
Read bbox from crowd human pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
Read bbox from crowd human pkl Return : bbox : [ y x height width ] shape : ( height width )
def read_bbox_ch(path):
        """
        Read bbox from crowd human pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
        """
        aux_dict = pkl.load(open(path, 'rb'))
        bboxs = aux_dict["bbox"]
        bbox = random.choice(bboxs)
        extra = bbox['extra']
        shape = aux_dict["shape"]
        while 'ignore' in extra and extra['ignore'] == 1 and bbox['fbox'][0] < 0 and bbox['fbox'][1] < 0:
            bbox = random.choice(bboxs)
            extra = bbox['extra']
        fbox = bbox['fbox']
        return [[fbox[1],fbox[0],fbox[3],fbox[2]]], (shape[1], shape[0])
def read_bbox_ch ( path ) : aux_dict = pkl . load ( open ( path , 'rb' ) ) bboxs = aux_dict [ "bbox" ] bbox = random . choice ( bboxs ) extra = bbox [ 'extra' ] shape = aux_dict [ "shape" ] while 'ignore' in extra and extra [ 'ignore' ] == 1 and bbox [ 'fbox' ] [ 0 ] < 0 and bbox [ 'fbox' ] [ 1 ] < 0 : bbox = random . choice ( bboxs ) extra = bbox [ 'extra' ] fbox = bbox [ 'fbox' ] return [ [ fbox [ 1 ] , fbox [ 0 ] , fbox [ 3 ] , fbox [ 2 ] ] ] , ( shape [ 1 ] , shape [ 0 ] )