AnnoItem
TypeSource
AnnoItem(
id: str,
mark: AnnoMark,
comment: str,
)
AnnoItem
is a TypedDict
.
Annotation item.
This dictionary represents the definition of one annotation item with its bounding box information.
Aliases
This type can be acquired by
import dash_picture_annotation as dpa
dpa.AnnoItem
dpa.typehints.AnnoItem
Keywords
Keyword | Type | Required | |
---|---|---|---|
id | str | The ID of the annotation item. This ID is only used for locating which item is currently selected by users. | |
mark | AnnoMark | The boudning box and the shape information of this annotation item. | |
comment | str | The text attached to this annotation item. Typically, this value is the type of the label. |