From 04d72ef6714513700ed13fdeb51307fc98f0a35a Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 15:24:22 +0800 Subject: [PATCH 1/3] -mfix some translations om quick_start on branch r1.0 --- tutorials/lite/source_en/quick_start/quick_start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index 40a337274f..e6e4204bb1 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -80,7 +80,7 @@ The following section describes how to build and execute an on-device image clas For details about how to connect the Android Studio to a device for debugging, see . - The mobile phone needs to be turn on "USB debugging mode" before Android Studio can recognize the mobile phone. Huawei mobile phones generally turn on "USB debugging model" in Settings > system and update > developer Options > USB debugging. + The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. @@ -179,7 +179,7 @@ target_link_libraries( -In this example, the download.gradle File configuration auto download MindSpore Lite version, placed in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. +In this example, the build process automatically downloads the MindSpore Lite version file by the download.gradle file and saves it in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -187,7 +187,7 @@ MindSpore Lite version [MindSpore Lite version](https://download.mindspore.cn/mo ### Downloading and Deploying a Model File -In this example, the download.gradle File configuration auto download `mobilenetv2.ms `and placed in the 'app / libs / arm64-v8a' directory. +In this example, the build process automatically downloads the `mobilenetv2.ms ` by the download.gradle file and saves in the 'app / libs / arm64-v8a' directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -266,7 +266,7 @@ The inference code process is as follows. For details about the complete code, s delete[] (dataHWC); ``` -3. Pretreat the input data. +3. Preprocessing the input data. ```cpp bool PreProcessImageData(const LiteMat &lite_mat_bgr, LiteMat *lite_norm_mat_ptr) { -- Gitee From dd343f12b34bab6f151b7a8a4ab1b9a489152267 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 17:18:11 +0800 Subject: [PATCH 2/3] remove jdk link on quick_start on branch r1.0 --- tutorials/lite/source_en/quick_start/quick_start.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index e6e4204bb1..a4b1a22b0e 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -56,7 +56,6 @@ The following section describes how to build and execute an on-device image clas - Native development kit (NDK) 21.3 - [CMake](https://cmake.org/download) 3.10.2 - Android software development kit (SDK) 26 or later -- [JDK]( https://www.oracle.com/downloads/otn-pub/java/JDK/) 1.8 or later ### Building and Running -- Gitee From 81c1de2f50a04afaf267a7e8321c73ccb0589811 Mon Sep 17 00:00:00 2001 From: hukang hwx963878 Date: Mon, 21 Sep 2020 17:22:52 +0800 Subject: [PATCH 3/3] Revert "-mfix some translations om quick_start on branch r1.0" This reverts commit 04d72ef6714513700ed13fdeb51307fc98f0a35a. --- tutorials/lite/source_en/quick_start/quick_start.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/lite/source_en/quick_start/quick_start.md b/tutorials/lite/source_en/quick_start/quick_start.md index a4b1a22b0e..486c0580c3 100644 --- a/tutorials/lite/source_en/quick_start/quick_start.md +++ b/tutorials/lite/source_en/quick_start/quick_start.md @@ -79,7 +79,7 @@ The following section describes how to build and execute an on-device image clas For details about how to connect the Android Studio to a device for debugging, see . - The mobile phone needs to turn on "USB debugging mode" for Android Studio to recognize the phone. In general, Huawei mobile phones turn on "USB debugging mode" in Settings -> System and Update -> Developer Options -> USB Debugging. + The mobile phone needs to be turn on "USB debugging mode" before Android Studio can recognize the mobile phone. Huawei mobile phones generally turn on "USB debugging model" in Settings > system and update > developer Options > USB debugging. 3. Continue the installation on the Android device. After the installation is complete, you can view the content captured by a camera and the inference result. @@ -178,7 +178,7 @@ target_link_libraries( -In this example, the build process automatically downloads the MindSpore Lite version file by the download.gradle file and saves it in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. +In this example, the download.gradle File configuration auto download MindSpore Lite version, placed in the `app/src/main/cpp/mindspore_lite_x.x.x-minddata-arm64-cpu` directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -186,7 +186,7 @@ MindSpore Lite version [MindSpore Lite version](https://download.mindspore.cn/mo ### Downloading and Deploying a Model File -In this example, the build process automatically downloads the `mobilenetv2.ms ` by the download.gradle file and saves in the 'app / libs / arm64-v8a' directory. +In this example, the download.gradle File configuration auto download `mobilenetv2.ms `and placed in the 'app / libs / arm64-v8a' directory. Note: if the automatic download fails, please manually download the relevant library files and put them in the corresponding location. @@ -265,7 +265,7 @@ The inference code process is as follows. For details about the complete code, s delete[] (dataHWC); ``` -3. Preprocessing the input data. +3. Pretreat the input data. ```cpp bool PreProcessImageData(const LiteMat &lite_mat_bgr, LiteMat *lite_norm_mat_ptr) { -- Gitee