Contents

analyze(imageAt:orientation:configuration:)

Returns the data for providing a Live Text interaction with an image at a URL and in the specified orientation.

Declaration

final func analyze(imageAt url: URL, orientation: CGImagePropertyOrientation, configuration: ImageAnalyzer.Configuration) async throws -> ImageAnalysis

Parameters

  • url:

    The URL location of an image 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