(path)
return [[int(bbox[1]), int(bbox[0]), int(bbox[3]), int(bbox[2])]], (shape[1], shape[0])
Read bbox from coco pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
Read bbox from coco pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
Read bbox from coco pkl Return : bbox : [ y x height width ] shape : ( height width )
def read_bbox_pkl(path):
        """
        Read bbox from coco pkl
        Return:
            bbox:[y,x,height, width], shape: (height, width)
        """
        aux_dict = pkl.load(open(path, 'rb'))
        bbox = aux_dict["bbox"]
        shape = aux_dict["shape"]
        #bbox = random.choice(bbox)
        #fbox = bbox['fbox']
        return [[int(bbox[1]), int(bbox[0]), int(bbox[3]), int(bbox[2])]], (shape[1], shape[0])
def read_bbox_pkl ( path ) : aux_dict = pkl . load ( open ( path , 'rb' ) ) bbox = aux_dict [ "bbox" ] shape = aux_dict [ "shape" ] #bbox = random.choice(bbox) #fbox = bbox['fbox'] return [ [ int ( bbox [ 1 ] ) , int ( bbox [ 0 ] ) , int ( bbox [ 3 ] ) , int ( bbox [ 2 ] ) ] ] , ( shape [ 1 ] , shape [ 0 ] )