MaskConverter

class cocohelper.utils.segmentation.MaskConverter[source]

Bases: ABC

Method List

decode(code, **kwargs)

encode(mask, **kwargs)

Attributes List

_abc_impl

Methods Details

abstract decode(code, **kwargs)[source]
Parameters:

code (Any) –

Return type:

ndarray

abstract encode(mask, **kwargs)[source]
Parameters:

mask (ndarray) –

Return type:

Any

Attribute Details

_abc_impl = <_abc._abc_data object>