diff --git a/README_EN.md b/README.en.md similarity index 71% rename from README_EN.md rename to README.en.md index 91c750147a784fdac97ef9f41859fc1642ef2361..4c95e64a228fe3b1435fd14665b29206b6a095bf 100644 --- a/README_EN.md +++ b/README.en.md @@ -6,8 +6,8 @@ This sample shows how to use the APIs provided by @ohos.multimedia.camera (camer ### Preview -| Home page | Text recognition dialog | -|-----------------------------------|------------------------------------| +| Home page | Text recognition dialog | +| ------------------------------------ | ------------------------------------- | | ![](screenshots/device/index_EN.png) | ![](screenshots/device/dialog_EN.png) | ### How to Use @@ -37,11 +37,12 @@ This sample shows how to use the APIs provided by @ohos.multimedia.camera (camer └──entry/src/main/resources // Static resources of the app ``` + ### How to Implement * The APIs for AI text recognition are encapsulated in **CameraModel**. For details about the source code, see [Camera.ets](entry/src/main/ets/common/utils/Camera.ets). - * Camera module: encapsulates the APIs for initializing and releasing the camera. - * On the Index page, a click event triggers camera shooting. After the photo output stream is obtained, use @hms.ai.ocr.textRecognition to extract the text from the photo. + * Camera module: encapsulates the APIs for initializing and releasing the camera. + * On the Index page, a click event triggers camera shooting. After the photo output stream is obtained, use @hms.ai.ocr.textRecognition to extract the text from the photo. ### Required Permissions @@ -49,12 +50,14 @@ This sample shows how to use the APIs provided by @ohos.multimedia.camera (camer ### Constraints -1. The sample app is supported only on Huawei phones running the standard system. +1. The sample is only supported on Huawei phones with standard systems. -2. The HarmonyOS version must be HarmonyOS NEXT Developer Beta1 or later. +2. The HarmonyOS version must be HarmonyOS 5.0.0 Release or later. -3. The DevEco Studio version must be DevEco Studio NEXT Developer Beta1 or later. +3. The DevEco Studio version must be DevEco Studio 5.0.0 Release or later. -4. The HarmonyOS SDK version must be HarmonyOS NEXT Developer Beta1 or later. +4. The HarmonyOS SDK version must be HarmonyOS 5.0.0 Release SDK or later. 5. The permission ohos.permission.CAMERA is of the normal level. For details about the permission level, see the permission list. + +