analyze(_:configuration:)
Returns the data for providing a Live Text interaction with an image.
Declaration
final func analyze(_ image: UIImage, configuration: ImageAnalyzer.Configuration) async throws -> ImageAnalysisParameters
- image:
An image that the analyzer processes.
- configuration:
A configuration that specifies the data types, and locales for text items, to recognize.
Mentioned in
Return Value
The data items that the analyzer finds in the image.
Discussion
This function configures orientation automatically based on the given image’s orientation property.