At present, many applications have the function of one-key identification of ID cards and bank cards. However, in the face of various membership cards, passes, driver's licenses, driving licenses and other cards that are often used in daily life, because of the location and layout of the card number of different merchants Different types of ID cards cannot be used with special ID card identification APIs similar to ID cards. If you want to manually enter the card number in travel apps, supermarket apps, etc., it is not only cumbersome but also prone to errors, and there is no good interactive experience. At this time, the general card identification capability of Huawei's machine learning service can be quickly solved. This capability will provide a standard general card alignment frame. Just pull up the alignment frame to obtain all the contents of the cards identified in the alignment frame, and then extract key information for these contents according to certain rules. You can get the content you want. For example, the consecutive 8 digits are the card number, or the content after some special letters is the card number content.

1 Business Introduction

Universal Card Recognition Service provides a common development framework based on character recognition technology. For any fixed-format cards such as Hong Kong and Macau Pass, Hong Kong ID Card, Home Return Permit, etc., developers are supported to customize the post-processing logic to obtain the required information. The current version provides three interfaces: video streaming, taking pictures and local pictures, and supports customized identification interfaces to meet the diverse usage scenarios of developers.

DEMO demo

2 scene introduction

Huawei Universal Card has a wide range of identification. When an application needs quick real-name authentication and binding certificate information, it only needs to send pictures, photos, and videos to ML Kit, and then the corresponding identification content can be obtained. In the application scenario, the content of the card number to be recognized can be extracted by performing certain post-processing on the identification content. Through the customization of the developer, it can support the structured identification of various cards such as Hong Kong and Macau passes, Taiwan passes, driver's licenses, driving licenses, membership cards, etc. This service can be used in some applications that need to collect certificate information, which not only reduces the cost of The probability of users entering wrong information can also improve the user's interactive experience. For example, users can quickly and automatically identify key information in relevant documents in the travel scenario of booking overseas hotels and air tickets to complete efficient entry.

3 Features

Multi-card support : Any fixed card, including membership card, pass, work card, etc. The range and scene of supported recognition are between text recognition and ID card and bank card recognition, as long as it is a card, it can be recognized.

Multi-angle recognition : support 30° tilt recognition, 45° curved text recognition, ideally, the recognition accuracy rate reaches 90%.

How to access Huawei Machine Learning Service?

The official website of Huawei Developer Alliance provides you with detailed documentation guidance .

Learn more details>>

Visit the official website of Huawei Developer Alliance
Get development guidance documents
Huawei Mobile Services Open Source Warehouse Address: GitHub , Gitee

Follow us to know the latest technical information of HMS Core for the first time~


HarmonyOS_SDK
596 声望11.7k 粉丝

HarmonyOS SDK通过将HarmonyOS系统级能力对外开放,支撑开发者高效打造更纯净、更智能、更精致、更易用的鸿蒙原生应用,和开发者共同成长。