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