[Huawei Developers] Freemind R:
More information like this, you can visit HUAWEI Developer Forum​

Original link: https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201272771294910088&fid=0101187876626530001

1 Foreword

Two previous articles have introduced the bank card recognition function of Huawei HMS MLKit.:

Ultra-simple integration of Huawei HMS MLKit Bank card recognition SDK, one-click bank card binding:

https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201258006396920241&fid=0101187876626530001

One article to understand Huawei HMS ML Kit text recognition, bank card recognition, general card identification

https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201253487604250240&fid=0101187876626530001

Through the above two articles, you must already know the usage scenarios of bank card recognition and how to use Huawei's bank card recognition SDK. But is the SDK provided by Huawei good or bad? How about competitiveness? I will give you an in-depth evaluation to see how effective it is.

2 Pick a competing product-Card.IO

In order to better reflect the evaluation results, we need to choose a competitor. We choose a more popular github open source project Card.io for comparison, see which one is better. I downloaded a card.io demo code from github, compiled and generated an APK and installed it on the phone, let's start our comparison.

3 Contrast dimension

As a developer, if you want to choose an easy-to-use SDK, you will mainly consider whether the SDK will charge or not, if it has a high accuracy, whether the recognition speed is fast, etc.

[IMG="https://cdn-images-1.medium.com/max/800/1*WJQ-NdTr6nG8eSQiO6Tx-w.png"]https://cdn-images-1.medium.com/max/800/1*WJQ-NdTr6nG8eSQiO6Tx-w.png[/IMG]

4 Is it free? - Use cost and expense comparison

[IMG="https://cdn-images-1.medium.com/max/800/1*WM8_H_EeMJ_26y1bTF_vHA.png"]https://cdn-images-1.medium.com/max/800/1*WM8_H_EeMJ_26y1bTF_vHA.png[/IMG]

4.1 Comparison conclusion: both are*free

5 Which devices are supported? - Device type coverage comparison

[IMG="https://cdn-images-1.medium.com/max/800/1*6vTrykm635ckhnMZVHVmcA.png"]https://cdn-images-1.medium.com/max/800/1*6vTrykm635ckhnMZVHVmcA.png[/IMG]

5.1 Contrast conclusion: both are all phone types*covered

6 How much storage space is required for the integrated SDK? - SDK package size comparison

card.io provides a variety of algorithm libraries such as x86_64, arm64-v8a, X86, armeabi-v7a, armeabi, mips, etc. This is mainly used to adapt to different CPUs, because the current Android phones are basically arm architecture*, And armeabi is currently obsolete, so in order to be fair, we only calculate the algorithm library of arm64-v8a and armeabi-v7a.

6.1 Cardio SDK package*size:

[IMG="https://cdn-images-1.medium.com/max/800/0*3ZXFEzegpWLg_S0O.png"]https://cdn-images-1.medium.com/max/800/0*3ZXFEzegpWLg_S0O.png[/IMG]

This is the size of the entire sample APK, and the size of the SDK part after removing the sample code is about 6.1M.

6.2 Huawei MLKit bank card recognition SDK package*size:

[IMG="https://cdn-images-1.medium.com/max/800/0*ntwylnde1PbDzR7f.png"]https://cdn-images-1.medium.com/max/800/0*ntwylnde1PbDzR7f.png[/IMG]

By analyzing the size of the sample APK, you can see that the SDK contains two parts: algorithm and assets. The total size of the SDK parts is about 3.1M

6.3 Comparison conclusion: Obviously, Huawei HMS MLKit is*better

The comparison is summarized as follows:

[IMG="https://cdn-images-1.medium.com/max/800/1*V0P6f6HP6t6JjNhgrd7CuQ.png"]https://cdn-images-1.medium.com/max/800/1*V0P6f6HP6t6JjNhgrd7CuQ.png[/IMG]

7 Which countries and types of cards can be identified? - Comparison of supported card*types

7.1 Analysis of common card*types

Common bank cards in the world are Visa, JCB, MasterCard, American Express Card, China UnionPay, etc. We will select some examples for these cards and see how the two SDKs identify the results.

7.2 Visa card identification comparison

I search several visa cards for identification and confirmation to see if the starting card type and card number can be correctly identified.

7.2.1 Card.io: Visa card can be correctly recognized

[IMG="https://cdn-images-1.medium.com/max/800/0*0uYgx782KJWavrP3.png"]https://cdn-images-1.medium.com/max/800/0*0uYgx782KJWavrP3.png[/IMG]

7.2.2 Huawei HMS MLKit: Visa card can be recognized correctly

[IMG="https://cdn-images-1.medium.com/max/800/0*eDMq4HdI4BOO4IlT.png"]https://cdn-images-1.medium.com/max/800/0*eDMq4HdI4BOO4IlT.png[/IMG]

[IMG="https://cdn-images-1.medium.com/max/800/0*eDMq4HdI4BOO4IlT.png"]https://cdn-images-1.medium.com/max/800/0*eDMq4HdI4BOO4IlT.png[/IMG]

It seems that for Visa cards, the card type and card number can be correctly identified.

7.3 MasterCard identification comparison

7.3.1 Card.io: can be correctly identified

[IMG="https://cdn-images-1.medium.com/max/800/0*lhpFoCaipWHFr19s.png"]https://cdn-images-1.medium.com/max/800/0*lhpFoCaipWHFr19s.png[/IMG]

7.3.2 Huawei HMS MLKit: can be correctly identified

[IMG="https://cdn-images-1.medium.com/max/800/0*caPZwO-PTnfP2_LV.png"]https://cdn-images-1.medium.com/max/800/0*caPZwO-PTnfP2_LV.png[/IMG]

7.4 JCB card identification comparison

7.4.1 Card.io: The recognition test was not successful

Since there is no real JCB card in hand, I search some cards on the Internet and tested many of them, but none of them were recognized. if you has real cards*,can experience it by yourself and feedback the test results.

[IMG="https://cdn-images-1.medium.com/max/800/0*_wd7_vVrxAwz0IzJ.png"]https://cdn-images-1.medium.com/max/800/0*_wd7_vVrxAwz0IzJ.png[/IMG]

7.4.2 Huawei HMS MLKit: can be correctly identified

[IMG="https://cdn-images-1.medium.com/max/800/0*1pmzpvP-gfSIH2bo.png"]https://cdn-images-1.medium.com/max/800/0*1pmzpvP-gfSIH2bo.png[/IMG]

However, since there is no real card, the organization is not identified, if you have real card can experience it and feedback the test results.

7.5 American Express Card Comparison

7.5.1 Card.io: The recognition test was not successful

[IMG="https://cdn-images-1.medium.com/max/800/0*-eQvSR82xjj12dtx.png"]https://cdn-images-1.medium.com/max/800/0*-eQvSR82xjj12dtx.png[/IMG]

Since there is no real American Express Card card in hand, I search some cards on the Internet and tested many of them, but none of them were recognized. if you has real cards*,can experience it by yourself and feedback the test results.

7.5.2 Huawei HMS MLKit: can be correctly identified

[IMG="https://cdn-images-1.medium.com/max/800/0*quPuOXhNLtWFDXkd.png"]https://cdn-images-1.medium.com/max/800/0*quPuOXhNLtWFDXkd.png[/IMG]

Since there is no real card, the organization is not identified, if you have real cards, can experience it by yourself s and feedback the test results.

This is not the end. For full content, you can visit https://forums.developer.huawei.com/forumPortal/en/topicview?tid=0201272771294910088&fid=0101187876626530001