HMS ML Demo
English | 中文
Introduction
This project contains HUAWEI ML Kit APIs and apps developed based on the HMS Core ML SDK. The project directory is as follows:
- MLKit-Sample: Provides examples of using basic functions of HUAWEI ML Kit.
- ID-Photo-DIY: Uses the image segmentation function of HUAWEI ML Kit to synthesize static images of people into a certificate photo with a blue or white background.
- Photo-Translate: Uses the text recognition and translation functions of HUAWEI ML Kit to translate text in static photos into the required language.
- Smile-Camera: Uses the face detection function of HUAWEI ML Kit to identify whether a user is smiling and capture the smiling photos of the user.
- Homework-Reader: Uses the text recognition and TTS functions of HUAWEI ML Kit to get the text in photos and convert it into audio output.
- ASRSampleKotlin: Uses the automatic speech recognition function of HUAWEI ML Kit to convert speech into text in real time.
- TTSSampleKotlin: Uses the text to speech function of HUAWEI ML Kit to convert text into speech and allow users to choose the volume and speed.
- TranslatorKotlin: Use the automatic speech recognition, text translation, and text to speech services of HUAWEI ML Kit to translate English speech into Chinese speech.
Precautions
The project contains multiple independent projects. After downloading code, you can open a project in Android Studio to build your app or add multiple apps to a project. You do not have to create a separate project for each app. You can open setting.gradle to select the project to build.