コード例 #1
0
ファイル: mask.py プロジェクト: bagxi/cocoapi
def toBbox(rleObjs):
    if isinstance(rleObjs, list):
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]
コード例 #2
0
ファイル: mask.py プロジェクト: jayelm/cocoapi
def toBbox(rleObjs):
    if type(rleObjs) == list:
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]
コード例 #3
0
ファイル: mask.py プロジェクト: PJunhyuk/people-counting-pose
def toBbox(rleObjs):
    if type(rleObjs) == list:
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]