Point

Properties

  • annotation_id UUID of the Annotation holding this Point

  • coords Coords of this Point

  • label

  • text OCR text of this Point

  • attributes Attributes of this Point


Methods

update

update(
   coords: (list|None) = None, label: (Label|None) = None, text: (str|None) = None
)

Description

Update this point with new coords or new label.

Examples

point.update(coords=[0, 0])

Arguments

  • coords (List, optional) : New coords of this Point. It must be a list of 2 integer. Defaults to None.

  • label (Label, optional) : New label of this Point. Defaults to None.

  • text (str, optional) : New ocr text of this Point. Defaults to None.


delete

delete()

Description

Delete this point from the platform.

⚠️ DANGER ZONE: Be very careful here!

Examples

point.delete()