trulliyang / hms-ml-demo

HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.

Home Page:https://developer.huawei.com/consumer/en/hms/huawei-mlkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMS ML Demo

License Android CI

English | 中文

Introduction

This project contains apps developed based on HUAWEI ML Kit. The project directory is as follows:

|-- MLKit-Sample // ML Kit scenario-based demo, which can be obtained from the HUAWEI Developers website by scanning the QR code: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Examples-V5/sample-code-0000001050265470-V5.

|-- 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.

|-- 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.

|-- Photo-Translate // Uses the text recognition and translation functions of HUAWEI ML Kit to translate text in static photos into the required language.

|-- 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.

|-- PhotoReader // Use the text recognition, text translation, and TTS functions of the HUAWEI ML Kit to obtain text in photos and convert the text into audio output.

|-- Face2D-Sticker // Use the face detection function of the ML Kit to demonstrate 2D stickers.

|-- Receipt-Text-Recognition // ML Kit is used for text recognition and general text recognition.

|-- Skeleton-Camera // Use the bone detection function of the Huawei ML Kit to recognize human body movements and take snapshots.

|-- WoodenMan // The HUAWEI ML Kit supports human body bone detection, image segmentation, and face detection to segment faces and replace background images.

|-- Skeleton-Camera // uses the skeleton detection function of HUAWEI ML Kit to recognize the human movement and match the corresponding action to capture.

|-- CrazyRockets // Use the facial recognition and gesture recognition functions of Huawei ML Kit to move the rocket to avoid obstacles.

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.

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

About

HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.

https://developer.huawei.com/consumer/en/hms/huawei-mlkit

License:Apache License 2.0


Languages

Language:Java 97.3%Language:Kotlin 2.6%Language:GLSL 0.1%Language:Shell 0.0%Language:Batchfile 0.0%