Class

VNDetectBarcodesRequest

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

Declaration

@interface VNDetectBarcodesRequest : VNImageBasedRequest

Overview

By default, a barcode request first locates all barcodes in the input image, then analyzes each to decode payload. To specify or limit the types of barcodes sought in the request, set the symbologies property to an array of barcode types you would like to support.

Topics

Choosing Barcode Types to Detect

symbologies

An array of VNBarcodeSymbology objects that Vision should detect in the image.

supportedSymbologies

An array of VNBarcodeSymbology objects describing the symbologies that Vision currently supports.

Specifying a Revision

VNDetectBarcodesRequestRevision1

A constant for specifying revision 1 of the barcode detection algorithm.

Relationships

Inherits From

See Also

Barcode Detection

VNBarcodeSymbology

Symbologies supported by the Vision framework.

VNBarcodeObservation

Barcode information detected by an image analysis request.

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