Skip to content

Commit 050d2ce

Browse files
authored
Beautify the display effect of readme.
1 parent 2b74d6d commit 050d2ce

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## HUAWEI-HMS-MLKit-Sample
1+
# HUAWEI-HMS-MLKit-Sample
22

33

44
## build status
@@ -11,32 +11,35 @@
1111
* [Installation](#installation)
1212
* [Configuration ](#configuration )
1313
* [Supported Environments](#supported-environments)
14-
* [Sample Code](#Sample Code)
14+
* [Sample-Code](#Sample-Code)
1515
* [License](#license)
1616

1717

1818
## Introduction
19-
The sample code mainly shows the use of Huawei Machine Learning SDK.
19+
The sample code mainly shows the use of Huawei Machine Learning SDK.
2020

21-
Including face recognition, text recognition, image classification, landmark recognition, object detection and tracking, translation, language detection, image segmentation. Product visual search will coming soon.
21+
Including face recognition, text recognition, image classification, landmark recognition, object detection and tracking, translation, language detection, image segmentation. Product visual search will coming soon.
2222

23-
It includes both camera capture video for real-time detection and still image recognition.
23+
It includes both camera capture video for real-time detection and still image recognition.
2424

25-
If you want to use cloud analyzer, such as cloud text analyzer(document and cloud text), cloud image classification analyzer, landmark analyzer, translation, language detection,
26-
you need to apply for an agconnect-services.json file in the developer alliance(https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/ml-preparations4),
27-
replacing the sample-agconnect-services.json in the project.
28-
Attention: The package name in the sample code can not be used to apply for agconnect-services.json.
29-
You can use a custom package name to apply for agconnect-services.json.
30-
You only need to modify the applicationId in app HUAWEI-HMS-MLKit-Sample
25+
If you want to use cloud analyzer, such as cloud text analyzer(document and cloud text), cloud image classification analyzer, landmark analyzer, translation, language detection,
26+
you need to apply for an agconnect-services.json file in the developer alliance(https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/ml-preparations4), replacing the sample-agconnect-services.json in the project.
27+
28+
Attention: The package name in this project can not be used to apply for agconnect-services.json. You can use a custom package name to apply for agconnect-services.json.
29+
30+
You only need to modify the applicationId in app HUAWEI-HMS-MLKit-Sample
3131
\app\build.gradle to the same package name as the applied agconnect-services.json to experience the mlkit on-Cloud services.
3232

3333

3434
## Installation
35-
Download the sample code and open in android Studio.
35+
You can find the app-release.apk in code->releases->app-release.apk, you can download the APK, copy it to your phone, install and experience it. if you have installed adb on your computer, open the cmd window and install the application on your phone through adb install app-release. apk.
36+
37+
Download the HUAWEI-HMS-MLKit-Sample code and open in Android Studio, after ensuring that your device is connected to the network, obtain the apk through build.
3638

3739

3840
## Configuration
39-
To use functions provided by packages in examples, You need to add the dependencies to the build.gradle file as follows:
41+
To use functions provided by packages in examples, You need to add the dependencies to the build.gradle file as follows:
42+
4043
implementation 'com.huawei.hms:ml-computer-vision-ocr-cn-model:1.0.2.300'
4144
implementation 'com.huawei.hms:ml-computer-vision-ocr-jk-model:1.0.2.300'
4245
implementation 'com.huawei.hms:ml-computer-vision-ocr-latin-model:1.0.2.300'
@@ -51,11 +54,11 @@
5154
implementation 'com.huawei.hms:ml-computer-language-detection:1.0.2.300'
5255

5356
## Supported Environments
54-
android 4.4 or a later version is recommended.
57+
android 4.4 or a later version is recommended.
5558

5659

5760
## Sample Code
58-
Sample code majors activitys as follows:
61+
Sample code majors activitys as follows:
5962
1. Choose TakePhotoActivity to see a demo of the following:
6063
- Camera background replacement
6164
- Picture view
@@ -140,4 +143,4 @@
140143
- LensEngine:camera that generates continuous image data for detection.
141144

142145
## License
143-
HUAWEI-HMS-MLKit-Sample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
146+
HUAWEI-HMS-MLKit-Sample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).

0 commit comments

Comments
 (0)