analysisTypes
TypeScriptget analysisTypes(): ImageAnalyzer_AnalysisTypesSwift declarationlet analysisTypes: ImageAnalyzer.AnalysisTypesThe types of items that the image analyzer looks for in the image.
struct · iOS 16.0+ · SDK 27.1
struct ConfigurationA configuration that specifies the types of items and locales that the image analyzer recognizes. Create an `ImageAnalyzer.Configuration` structure to specify the criteria when analyzing an image. Then pass the configuration object to the `ImageAnalyzer` ``ImageAnalyzer/analyze(_:configuration:)`` or similar method to find the items you want.
get analysisTypes(): ImageAnalyzer_AnalysisTypesSwift declarationlet analysisTypes: ImageAnalyzer.AnalysisTypesThe types of items that the image analyzer looks for in the image.
get locales(): Array<string>Swift declarationvar locales: [String]The languages to use in text items that the image analyzer recognizes.
set locales(value: Array<string>)Swift declarationvar locales: [String]The languages to use in text items that the image analyzer recognizes.
static init(types: ImageAnalyzer_AnalysisTypes): ImageAnalyzer_ConfigurationSwift declarationinit(_ types: ImageAnalyzer.AnalysisTypes)Creates a configuration that an image analyzer uses to find items. - Parameter types: The types of items that an image analyzer looks for in the image.
No declarations were skipped in this snapshot.