Skip to content

Recognition your Bank Card number and enter the forms without losing time With ML Kit ( Codelab Project with TODO )

License

Notifications You must be signed in to change notification settings

lookub/BankCardRecognitionCodelab

Repository files navigation

BankCardRecognitionCodelab

Kotlin Jdk Version Kotlin Version

AgConnect Version ML Kit Version Bank Card Recognition Version

Minimum SDK Version Android Gradle Version Gradle Version

Latest Version

The bank card recognition service can quickly recognize information such as the 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.

  • Since the application is written entirely in HMS, you must have HMS Core installed on your device.

  • For Android devices without HMS Core, you can download the latest version from this link; https://tik.to/9l6

  • ML Kit - Text Related Service feature - BCR : Bank Card Recognition - uses camera stream.

  • Before getting started, Sign In/Register to Huawei Developer website and click to Developer Console

  • Click to the AppGallery Connect button in order to access AppGallery Connect

  • Click My projects button to create new project or add new app to existing your projects. ( Create an app )

  • If the app creation is successful the page will navigate you to the App Information page. On this page, you can find your APP ID and APP SECRET of your application.

  • Add the application package name to the app on the developer console

  • Make enable necessary SDKs with follow this steps; My Apps -> Select App -> Project Settings -> Manage APIs.

For this project you have to set enable ML Kit

  • Edit DataStorageLocation on developer console

  • You need to agconnect-services.json for run this project correctly.

  • Go Project Settings page and click “agconnect-services.json” button for download json file.

  • Move to json file in base “app” folder that under your android project. ( like this )

  • Generate and Configure the Signing Certificate (Keystore) for your application. click here to go related page. click here to go related article.

  • Generating SHA-256 Fingerpring from Signing Certificate (Keystore). click here to go related page. click here to go related article.

  • Add and Maven repository address implementation in the project-level(root-level) build.gradle file.

  • Add and configure plug-in dependency implementation in the app-level build.gradle file.(usually app/build.gradle)

  • For more details

Preparations for Integrating HUAWEI HMS Core

Integrating Your Apps With Huawei HMS Core


ℹ️ Licence

Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

About

Recognition your Bank Card number and enter the forms without losing time With ML Kit ( Codelab Project with TODO )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages