blinkinput / blinkinput-android

BlinkOCR SDK for Android
https://microblink.com/ocr
104 stars 29 forks source link

Custom Id Identity - Cordova Plugin Blink ID #18

Closed SergiioXs closed 6 years ago

SergiioXs commented 6 years ago

Hi, I am using ionic 1, I need to read an area of the Mexican credential "CURP", but I have not been able to find a way to do it, nor in what file can I integrate this functionality. I do not know if there is a function that allows me to define the area to be read?

DoDoENT commented 6 years ago

Hi @SergiioXs. In order to achieve that, you will need to use the Templating API.

A detailed description about the templating API is given here and full examples are available as part of our BlinkID SDK.

BlinkInput SDK does not have support for MRTD-based templating, but does support templating based on detection of card-like documents.

Both BlinkID and BlinkInput support templating API only when using native iOS or Android integration. If you need that functionality in cordova/phonegap app, then you should fork our official BlinkID phonegap plugin source code and modify it so that bridge towards java/objective C performs the templating API-based integration suited for your needs.

BlinkInput SDK does not have an official phonegap plugin but you can use BlinkID wrapper's source code as starting point to create one.

SergiioXs commented 6 years ago

Thanks you, can you send us, a example of code, using native Android, where only I can read one line? With a easy template, whit that, I will understand what is the structure.

Thanks.

DoDoENT commented 6 years ago

Hi @SergiioXs!

Here is description of example for arbitrary templates.

You can use that example for scanning only one line of text from your document.

culoi commented 6 years ago

Closing issue.

Please reopen if you have additional question.

Regards