跳轉到主要內容
條碼物件用於描述條碼。

屬性

資料型別

說明

id

string

包含該條碼之區塊的識別碼。

position

rect

文件中條碼所在矩形區域的座標。

confidence

信賴度

此值一律為 -1。

type

string enum

條碼類型。

可能的值
  • Code39
  • Interleaved25
  • EAN13
  • Code128
  • EAN8
  • PDF417
  • Codabar
  • UPCE
  • Industrial25
  • IATA25
  • Matrix25
  • Code93
  • PostNet
  • UCC128
  • Patch
  • Aztec
  • DataMatrix
  • QRCode
  • UPCA
  • MaxiCode
  • Code32
  • FullAscii
  • IntelligentMail
  • RoyalMail4State
  • KIX
  • Australia4State
  • JapanPost
  • NotFound

value

string

條碼值。

supplementType

string enum

補充條碼類型。

可能的值:

  • none
  • 2digits
  • 5digits

supplementValue

string

補充條碼值。