MCPcopy
hub / github.com/obss/sahi / deepcopy

Method deepcopy

sahi/annotation.py:703–709  ·  view source on GitHub ↗

Get deepcopy of current ObjectAnnotation instance. Returns: ObjectAnnotation: A deep copy of this ObjectAnnotation.

(self)

Source from the content-addressed store, hash-verified

701 return imantics_annotation
702
703 def deepcopy(self) -> ObjectAnnotation:
704 """Get deepcopy of current ObjectAnnotation instance.
705
706 Returns:
707 ObjectAnnotation: A deep copy of this ObjectAnnotation.
708 """
709 return copy.deepcopy(self)
710
711 @classmethod
712 def get_empty_mask(cls) -> Mask:

Callers 15

__init__Method · 0.80
__init__Method · 0.80
crop_object_predictionsFunction · 0.80
visualize_predictionFunction · 0.80
update_categoriesMethod · 0.80
mergeMethod · 0.80
calculate_statsMethod · 0.80
update_categoriesFunction · 0.80
mergeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected