Class

VNBarcodeObservation

Barcode information detected by an image analysis request.

Overview

This type of observation results from a VNDetectBarcodesRequest. It contains information about the detected barcode, including parsed payload data for supported symbology.

Topics

Parsing the Payload

var payloadStringValue: String?

The string representation of the barcode's payload.

Reading Barcode Descriptors

var barcodeDescriptor: CIBarcodeDescriptor?

The barcode descriptor in Core Image.

Identifying Barcode Types

var symbology: VNBarcodeSymbology

The symbology of the observed barcode.

Relationships

Conforms To

See Also

Barcode Detection

struct VNBarcodeSymbology

Symbologies supported by the Vision framework.

class VNDetectBarcodesRequest

An image analysis request that finds and recognizes barcodes in an image.