Skip to main content

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

KeywordTypeRequired
Description
idstrThe ID of the annotation item. This ID is only used for locating which item is currently selected by users.
markAnnoMarkThe boudning box and the shape information of this annotation item.
commentstrThe text attached to this annotation item. Typically, this value is the type of the label.