SpatialBarcode

data class SpatialBarcode(val value: String, val type: Barcode.Type, val bounds: Rect? = null, val sourceImageWidth: Int = 0, val sourceImageHeight: Int = 0)

Constructors

Link copied to clipboard
constructor(value: String, type: Barcode.Type, bounds: Rect? = null, sourceImageWidth: Int = 0, sourceImageHeight: Int = 0)

Properties

Link copied to clipboard
val bounds: Rect? = null

Bounding box of the barcode on the image

Link copied to clipboard

The height of the source image, used for coordinate transformation

Link copied to clipboard

The width of the source image, used for coordinate transformation

Link copied to clipboard

The type of barcode (e.g. EAN-13, …)

Link copied to clipboard

The value of the barcode, as a string

Functions

Link copied to clipboard