1e41f4b71Sopenharmony_ci# Image Analysis Types 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci>**NOTE** 4e41f4b71Sopenharmony_ci> 5e41f4b71Sopenharmony_ci>The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version. 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci## ImageAnalyzerConfig 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ciProvides AI image analyzer configuration. 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci| Name | Type | Mandatory | Description | 17e41f4b71Sopenharmony_ci| ------ | ----------------- | ---- | -------------------- | 18e41f4b71Sopenharmony_ci| types | [ImageAnalyzerType[]](#imageanalyzertype) | Yes| AI image analysis types. 19e41f4b71Sopenharmony_ci 20e41f4b71Sopenharmony_ci## ImageAnalyzerType 21e41f4b71Sopenharmony_ci 22e41f4b71Sopenharmony_ciEnumerates the AI image analysis types. 23e41f4b71Sopenharmony_ci 24e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci| Name | Description | 29e41f4b71Sopenharmony_ci| -------- | -------------- | 30e41f4b71Sopenharmony_ci| SUBJECT | Subject recognition.| 31e41f4b71Sopenharmony_ci| TEXT | Text recognition.| 32e41f4b71Sopenharmony_ci| OBJECT_LOOKUP | Object lookup.| 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci## ImageAIOptions 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ciProvides the AI image analysis options. 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 39e41f4b71Sopenharmony_ci 40e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 41e41f4b71Sopenharmony_ci 42e41f4b71Sopenharmony_ci| Name | Type | Mandatory | Description | 43e41f4b71Sopenharmony_ci| ------ | ----------------- | ---- | -------------------- | 44e41f4b71Sopenharmony_ci| types | [ImageAnalyzerType[]](#imageanalyzertype) | No| AI image analysis types.| 45e41f4b71Sopenharmony_ci| aiController | [ImageAnalyzerController](#imageanalyzercontroller) | No| AI image analysis controller.| 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci> **NOTE** 48e41f4b71Sopenharmony_ci> 49e41f4b71Sopenharmony_ci> The **types** parameter of this API has a higher priority than that of [ImageAnalyzerConfig](#imageanalyzerconfig). This means that, if both parameters are set, the value set by this API takes precedence. 50e41f4b71Sopenharmony_ci> 51e41f4b71Sopenharmony_ci> This API depends on device capabilities and must be used together with the **enableAnalyzer** API of the corresponding component (for example, the [\<Image>](ts-basic-components-image.md#enableanalyzer11) component). 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci## ImageAnalyzerController 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ciImplements an **ImageAnalyzerController** object, which can be bound to a supported component and then call the supported method through the controller. 56e41f4b71Sopenharmony_ci 57e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci### constructor 60e41f4b71Sopenharmony_ci 61e41f4b71Sopenharmony_ciconstructor() 62e41f4b71Sopenharmony_ci 63e41f4b71Sopenharmony_ciA constructor used to create an **ImageAnalyzerController** album instance. 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci### getImageAnalyzerSupportTypes 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_cigetImageAnalyzerSupportTypes(): ImageAnalyzerType[] 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ciObtains the analysis types supported by the corresponding component. 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 12. 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci**Return value** 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci| Type | Description | 82e41f4b71Sopenharmony_ci| ------ | ----------------------- | 83e41f4b71Sopenharmony_ci| ImageAnalyzerType[] | Analysis type supported by the corresponding component.| 84