DocumentSelectionMark クラス

チェック ボックス、ラジオ ボタン、および選択範囲を示すその他の要素を表す選択マーク オブジェクト。

継承
builtins.object
DocumentSelectionMark

コンストラクター

DocumentSelectionMark(**kwargs: Any)

メソッド

from_dict

DocumentSelectionMark の図形のディクテーションをモデル自体に変換します。

to_dict

DocumentSelectionMark のディクテーション表現を返します。

from_dict

DocumentSelectionMark の図形のディクテーションをモデル自体に変換します。

from_dict(data: Dict) -> DocumentSelectionMark

パラメーター

名前 説明
data
必須

DocumentSelectionMark の図形の辞書。

戻り値

説明

DocumentSelectionMark

to_dict

DocumentSelectionMark のディクテーション表現を返します。

to_dict() -> Dict

戻り値

説明

dict

属性

confidence

選択マークを正しく抽出する信頼度。

confidence: float

polygon

選択マークの境界ポリゴン。

polygon: Sequence[Point]

span

読み取り順序の連結されたコンテンツ内の選択マークの位置。

span: DocumentSpan

state

"selected"、"unselected"。

state: str