Point

Properties


Methods

update

update(
   coords: Optional[list] = None, label: Optional[Label] = None,
   text: Optional[str] = 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()