Contents

analyze(_:orientation:configuration:)

Returns the data for providing a Live Text interaction with a pixel buffer image in the specified orientation.

Declaration

final func analyze(_ pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation, configuration: ImageAnalyzer.Configuration) async throws -> ImageAnalysis

Parameters

  • pixelBuffer:

    A Core Video pixel buffer object that the analyzer processes.

  • orientation:

    The orientation that the analyzer uses to process the image.

  • configuration:

    A configuration that specifies the data types, and locales for text items, to recognize.

Return Value

The data items that the analyzer finds in the image.

See Also

Finding items in images