Documentation
¶
Index ¶
Constants ¶
View Source
const ( ORIENTATION_UNSPECIFIED = "ORIENTATION_UNSPECIFIED" ORIENTATION_UP = "UP" ORIENTATION_DOWN = "DOWN" ORIENTATION_LEFT = "LEFT" ORIENTATION_RIGHT = "RIGHT" )
Orientation string constants for detected barcodes.
View Source
const ( TYPE_NONE = "NONE" TYPE_AZTEC = "AZTEC" TYPE_CODABAR = "CODABAR" TYPE_CODE39 = "CODE39" TYPE_CODE93 = "CODE93" TYPE_CODE128 = "CODE128" TYPE_DATABAR = "DATABAR" TYPE_DATABAREXPANDED = "DATABAREXPANDED" TYPE_DATAMATRIX = "DATAMATRIX" TYPE_EAN8 = "EAN8" TYPE_EAN13 = "EAN13" TYPE_I25 = "I25" TYPE_MAXICODE = "MAXICODE" TYPE_PDF417 = "PDF417" TYPE_QRCODE = "QRCODE" TYPE_UPCA = "UPCA" TYPE_UPCE = "UPCE" TYPE_MICROQRCODE = "MICROQRCODE" TYPE_RMQRCODE = "RMQRCODE" TYPE_DXFILMEDGE = "DXFILMEDGE" TYPE_DATABARLIMITED = "DATABARLIMITED" TYPE_UNKNOWN = "UNKNOWN" )
Barcode type string constants.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config wraps internal.Config and specifies barcode detection configuration.
type Symbol ¶
type Symbol struct {
Data string // Decoded data from the barcode
BcType string // Barcode type (e.g., TYPE_I25)
Polygon []Point // Bounding polygon of the barcode
Orientation string // Orientation of the barcode (e.g., ORIENTATION_UP)
}
Symbol represents a detected barcode, including its data, type, polygon, and orientation.
Click to show internal directories.
Click to hide internal directories.