

def copy(self):
    '\n        Generate an efficient copy of this :map:`LandmarkGroup`.\n\n        Returns\n        -------\n        ``type(self)``\n            A copy of this object\n        '
    new = Copyable.copy(self)
    for (k, v) in new._labels_to_masks.items():
        new._labels_to_masks[k] = v.copy()
    return new

dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py LandmarkGroup.copy/original