Contents

analyze(_:orientation:configuration:)

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

Declaration

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

Parameters

  • image:

    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