目录

HUAWEI ML Kit allows your apps to easily leverage Huawei's long-term proven expertise in machine learning to support diverse artificial intelligence (AI) applications throughout a wide range of industries. Thanks to Huawei's technology accumulation, ML Kit provides diversified leading machine learning capabilities that are easy to use, helping you develop various AI apps.

Service Introduction

Text-related Services

Text Recognition

The text recognition service extracts text from images of receipts, business cards, and documents. This service is widely used in office, education, transit, and other apps. For example, you can use this service in a translation app to extract text in a photo and translate the text, improving user experience.

This service can run on the cloud or device, but the supported languages differ in the two scenarios. The on-device service can recognize text in Simplified Chinese, Japanese, Korean, and Latin-based languages (refer to Latin Script Supported by On-device Text Recognition). When running on the cloud, the service can recognize text in languages such as Simplified Chinese, English, Spanish, Portuguese, Italian, German, French, Russian, Japanese, Korean, Polish, Finnish, Norwegian, Swedish, Danish, Turkish, Thai, Arabic, Hindi, and Indonesian.

Document Recognition

The document recognition service can recognize text with paragraph formats in document images. It can extract text from document images to convert paper documents into electronic copies, greatly improving the information input efficiency and reducing labor costs.

Bank Card Recognition

The bank card recognition service can quickly recognize bank card number, covering mainstream bank cards such as China Unionpay, American Express, Mastercard, Visa, and JCB around the world. It is widely used in finance and payment scenarios requiring bank card binding to quickly extract bank card information, realizing quick input of bank card information.

General Card Recognition

The general card recognition service provides a universal development framework based on the text recognition technology. It allows you to customize the post-processing logic to extract required information from any fixed-format cards, such as Exit-Entry Permit for Traveling to and from Hong Kong and Macao, Hong Kong identity card, and Mainland Travel Permit for Hong Kong and Macao Residents. Currently, it provides three types of APIs for general card recognition from camera streams, picture taking, and local images, and also supports recognition UI customization to meet your requirements in diversified scenarios. For example, when a user books an oversea hotel or flight ticket, this service can quickly recognize relevant card of the user, realizing efficient information input.

Language-related Services

Text Translation

The text translation service can detect the language of text and translate the text into different languages. It currently supports offline translation of Chinese and English (64-bit operating system) and can translate text online between 12 languages: Simplified Chinese, English, French, Arabic, Thai, Spanish, Turkish, Portuguese, Japanese, German, Italian, and Russian. You can use this service in travel apps to translate text between Chinese and English anytime and anywhere, breaking network restrictions. You can also add this service to education and learning apps to eliminate language barriers and make content more accessible.

Language Detection

The language detection service can detect up to 49 languages of text in both online and offline modes. For details, please refer to Languages Supported by Language Detection. You can use this to create apps that detect languages of text. This is useful for translation apps, web pages, or any situation where more than one language is used, even if the network is unavailable.

Audio File Transcription

The service can convert audio files into text. Currently, Chinese and English are supported. It can convert a voice message into text, so that a user can easily obtain the message in a noisy scenario unsuitable for listening to the voice message.

Automatic Speech Recognition (ASR)

This service can convert speech into text in real time. It is widely used in social networking, conferencing, and shopping apps. Currently, Mandarin Chinese, English, and FrenchBeta are supported, including Chinese-English bilingual speech. For example, when it is inconvenient for you to manually enter text to search for information, you can speak a keyword for search, to further improve search efficiency.

Text to Speech (TTS)

This service can convert text into speech and allow users to choose the male or female voice. The on-device API can generate speech in real time. It is widely used in news and audio reading apps. Currently, this service supports Mandarin Chinese, English, French, and Spanish. For example, TTS can convert SMS message content and long text of novels into speech output, freeing eyes and allowing words to speak.

Image-related Services

Image Classification

The image classification service can classify entities in images, such as people, objects, environments, activities, or artwork to define image themes and application scenarios. For details about the classification categories list, please refer to Image Classification Categories. This service can be used to create apps that identify, classify, and manage images.

Object Detection and Tracking

The object detection and tracking service can detect and track multiple objects in an image, so they can be located and classified in real time. This is useful for examining and recognizing images. You can use it to develop apps that filter out unwanted objects.

Landmark Recognition

The landmark recognition service can identify the names and latitude and longitude of landmarks in an image. You can use this information to create individualized experiences for users. For example, you can create a travel app that identifies a landmark in an image and gives users the location along with everything they need to know about that landmark.

Image Segmentation

The image segmentation service can differentiate elements in an image. For example, you can use this service to create photo editing apps that replace certain parts of photos, such as the background.

Product Visual Search

A user can take a photo of a product, or scan it, to search for similar items online. The product visual search service shows the user both the product ID and image. For example, you can use this service to create shopping apps where users can quickly search for the things they want and compare products.

Face/Body-related Services

Face Detection

The face detection service can detect the shapes and features of your user's face, including their facial expression, age, gender, and wearing. For example, you can use the service to develop apps that dynamically beautify users' faces during video calls.

On-Device and On-Cloud APIs

HUAWEI ML Kit provides both on-device and on-cloud APIs. On-device APIs are blistering-fast, without requiring a network connection, and on-cloud APIs provide a high degree of accuracy with the benefit of powerful computing, and are best equipped for complex scenarios. On-device APIs of HUAWEI ML Kit can be called for an unlimited number of times. As for on-cloud APIs, one call is counted each time the function for a use case is used by a product. For details, please refer to Enabling the Service.

Category

Service

Device

Free-of-Charge  Quota (Device)

Cloud

Free-of-Charge  Quota (Cloud)

Text services

Text Recognition

√

Unlimited

√

10,000 calls/month

Document Recognition

-

-

√

10,000 calls/month

Bank Card Recognition

√

Unlimited

-

-

General Card  Recognition

√

Unlimited

-

-

Language-related  services

Text Translation√

Unlimited

√

0.5 million  characters/month

(Shared by both)

Language Detection

√

Unlimited

√

ASR--√Free of charge (applicable only to Huawei phones)
Audio File Transcription--√

60 minutes/month

TTS--√Free of charge (applicable only to Huawei phones)

Image-related services

Image Classification

√

Unlimited

√

10,000 calls/month

Object Detection and  Tracking

√

Unlimited

-

-

Landmark Recognition

-

-

√

10,000 calls/month

Image Segmentation

√

Unlimited


-

Product Visual Search

-

-

√

10,000 calls/month

Face/Body-related  services

Face Detection

√

Unlimited



Quota adjustment method: Sign in to AppGallery Connect, go to Develop > Growing > ML Kit, and query the number of on-cloud API calls. If you need to change the number, download the email template, fill in the template as instructed, and send it to mlkit@huawei.com.

Privacy Statement

When developing apps using the Huawei Mobile Services (HMS) SDK, please comply with the HUAWEI Developer Service Agreement, Agreement on Use of Huawei APIs, AppGallery Connect Data Processing Addendum, and HUAWEI ML Kit Service Agreement. HUAWEI ML Kit does not store any personal data or image data.