共用方式為


Line interface

物件,表示辨識的文字行。

屬性

appearance

文字行的外觀。

boundingBox

已辨識線條的周框方塊。

language

辨識文字行的 BCP-47 語言代碼。 僅提供行的語言與頁面不同的位置。

text

行的文字內容。

words

文字行中的單字清單。

屬性詳細資料

appearance

文字行的外觀。

appearance?: Appearance

屬性值

boundingBox

已辨識線條的周框方塊。

boundingBox: number[]

屬性值

number[]

language

辨識文字行的 BCP-47 語言代碼。 僅提供行的語言與頁面不同的位置。

language?: string

屬性值

string

text

行的文字內容。

text: string

屬性值

string

words

文字行中的單字清單。

words: Word[]

屬性值

Word[]