Esempio n. 1
0
def toBbox(rleObjs):
    if isinstance(rleObjs, list):
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]
Esempio n. 2
0
def toBbox(rleObjs):
    if type(rleObjs) == list:
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]
Esempio n. 3
0
def toBbox(rleObjs):
    if type(rleObjs) == list:
        return _mask.toBbox(rleObjs)
    else:
        return _mask.toBbox([rleObjs])[0]