Class

AVCaptureMetadataOutput

A capture output for processing timed metadata produced by a capture session.

Declaration

@interface AVCaptureMetadataOutput : AVCaptureOutput

Overview

An AVCaptureMetadataOutput object intercepts metadata objects emitted by its associated capture connection and forwards them to a delegate object for processing. You can use instances of this class to process specific types of metadata included with the input data. You use this class the way you do other output objects, typically by adding it as an output to an AVCaptureSession object.

Topics

Configuring Metadata Capture

availableMetadataObjectTypes

An array of strings identifying the types of metadata objects that can be captured.

metadataObjectTypes

An array of strings identifying the types of metadata objects to process.

rectOfInterest

A rectangle of interest for limiting the search area for visual metadata.

Receiving Captured Metadata Objects

- setMetadataObjectsDelegate:queue:

Sets the delegate and dispatch queue to use handle callbacks.

metadataObjectsDelegate

The delegate of the capture metadata output object.

metadataObjectsCallbackQueue

The dispatch queue on which to execute the delegate’s methods.

AVCaptureMetadataOutputObjectsDelegate

Methods for receiving metadata produced by a metadata capture output.

Creating Metadata Output

- init

Creates a new capture metadata output.

+ new

Creates a new capture metadata output.

Relationships

Inherits From

See Also

Metadata Capture

AVMetadataBodyObject

An abstract class that defines the interface for a metadata body object.

AVMetadataCatBodyObject

An object representing a single detected cat body in a picture.

AVMetadataDogBodyObject

An object representing a single detected dog body in a picture.

AVMetadataHumanBodyObject

An object representing a single detected human body in a picture.

AVMetadataSalientObject

An object representing a single salient area in a picture.

AVCaptureMetadataInput

A capture input for providing timed metadata to a capture session.

AVMetadataFaceObject

Face information detected by a metadata capture output.

AVMetadataMachineReadableCodeObject

Barcode information detected by a metadata capture output.

AVMetadataObject

The abstract superclass for objects provided by a metadata capture output.