Class

VNBarcodeObservation

Barcode information detected by an image analysis request.

Declaration

@interface VNBarcodeObservation : VNRectangleObservation

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

payloadStringValue

The string representation of the barcode's payload.

Reading Barcode Descriptors

barcodeDescriptor

A CIBarcodeDescriptor object with low-level details about the barcode and its data.

Identifying Barcode Types

symbology

The symbology of the observed barcode.

Relationships

See Also

Barcode Detection

VNBarcodeSymbology

Symbologies supported by the Vision framework.

VNDetectBarcodesRequest

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software