GithubHelp home page GithubHelp logo

blinkid / blinkid-ui-android Goto Github PK

View Code? Open in Web Editor NEW
34.0 19.0 10.0 641 KB

Customizable UI library that includes camera management, scanning screen, and document selection module.

Kotlin 96.62% Java 3.38%
android ocr scanning-id-cards kyc onboarding id-card-camera kotlin

blinkid-ui-android's People

Contributors

cerovec avatar i1e avatar lokalise-bot avatar matvidako avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blinkid-ui-android's Issues

Scan timeout configuration

Hi,

Earlier, we used the following snippet to achieve timeout handling for our scan activity that extends BaseDocumentScanActivity :
protected open fun createScanTimeoutHandler() : ScanTimeoutHandler = DefaultScanTimeoutHandler(SCAN_TIMEOUT_MILLIS); protected open fun createScanTimeoutListener() = createDefaultScanTimeoutListener()
Now we are using an activity that implements RecognizerRunnerFragment.ScanningOverlayBinder for card screen. We are using
uiSettings = new BlinkCardUISettings(mRecognizerBundle); scanningOverlay = new BlinkCardOverlayController(uiSettings, scanResultListener);
for scanning card. So, how can we achieve the timeout handling so that we can perform some operation on timeout.

Can we change the overlay color

Hi,

Can we change the color of the overlay screen that comes over the recognizer view. As of now, it is a semi-transparent overlay. Can we change it to some custom color?

Signature Image

Hello,

We are using 4.8.0.1 currently and we would like to know if we can we fetch the signature image from United Arab Emirates Back Image?
I have seen an API for the same in recognition result but it seems to return null - getSignatureImage().
Could you please let us know how this API works and if not then is there any other way to fetch the signature image from the document.

Thanks,
Samir

Blink UI compatible with V5.8.0

Hi ,

I have upgraded my microblink lib to latest version com.microblink:blinkid:5.8.0@aar
After updating existing blink ui is not working .
Can you please guide how can I upgrade to latest blink uI

Unable to get ID Card Document Detail Name and CNIC Number Response from Sample Code~

ImageStorage.addImages(recognitionResult); Intent intent = new Intent(ScanActivity.this, ResultsActivity.class); ArrayList<Parcelable> parcelableArrayList = new ArrayList<>(); parcelableArrayList.addAll(recognitionResult.getResultEntries()); intent.putExtra(ResultsActivity.EXTRA_RESULT_ENTRIES, parcelableArrayList); startActivity(intent);

In UAE emirates ID scan, we are not getting the field DocumentNumber

In an earlier version of blink ID, we were reading a value from the recognized results named "DocumentNumber". In the version 4.6.0, we are getting Document number and its value is the emirates ID number. Earlier, we used to get DocumentNumber with a value retrieved from the MRZ raw data. For example, if the raw value is : ILARE0121151474754399237350477
9846735M2012087AUS<<<<<<<<<<<0
PRAMANIK<<SAMIR<<<<<<<<<<<<<<<, then in DocumentNumber we used to get "012115147" which is the immediate value after ILARE in the raw value of MRTD.
So, is there any other API to retrieve this which we were already getting in the older version 3.18.

how to change the height of RecognizerRunnerView in Blink id ui android?

Hi Team,
We tried changing the android:layout_height value to "250dp" in RecognizerRunnerView from "match_parent" to "250dp" in mb_activity_scan_document.xml.

When we are scanning for United Arab Emirates ID card the Emirates ID back is not recognized when camera is placed in the same place as that of scanning Emirates ID front. [We have to keep emirates ID bit far from the camera frames to recognize it properly.]

Version Tested : 4.8 & 4.11 latest.

Attached the mb_activity_scan_document.xml in text document for the reference.
Tesst.txt

Could you please provide resolution for this scenario?

Thanks
Phani

Passport scanned image cropped

Hello,

At times the scanned passport image is cropped. To avoid this, we tried the following :

mrtdRecogniezr.setReturnFullDocumentImage(true);
            ImageExtensionFactors passportImageExtFactors = new ImageExtensionFactors(0.2f, 0.2f,0.2f,0.2f);
            mrtdRecogniezr.setFullDocumentImageExtensionFactors(passportImageExtFactors);

as suggested in the documentation. But even after this, the image is coming the same. Please help resolve this.

V4.10.0 available in Blink ID

Team,

Can we use the latest SDK V4.10.0 with the existing BlinkUI SDK? Or do we need to do any changes on the UI library? As I'm facing the errors while updating the Blink ID library.

One Plus7 Pro Camera Popping up while launching the app

Team,

We are seeing an issue in One Plus 7 Pro device front camera Popping up, while launching our application which is integrated the BlinkID SDK & UI library. It is happening some times when kill the app from background and try to launch again. This is so weird to see that Camera coming and going for a moment.
Can you check this out at your end as well what are the permissions and access on the Camera feature.
Issue description goes here.

Please try to provide steps to reproduce the issue, or minimal code sample. It will help us resolve the issue faster.

Environment Details
BlinkID version:
4.10.0

Device model:
OnePlus 7 Pro

Device Android version:
9.x

AndroidX compatibility issue

Hey, I am currently using androidX in my project however this library currently does not support it. My workaround has been to fork the project and make the minor changes myself.

Would be great if this was built in, also happy to make a PR.

Scan result face image is null

Hi,

I've imported the library as suggested in the readme, however in the RecognitionResult object returned the faceImage is always null. I've tested this on a UK Driving license and Passport as well as an Irish Passport.

It looks like in the setup method of the BaseRecognition object therecognizer.setReturnFaceImage(true) is not called.

Thanks

Can we customize the scanning frame

Hi,

I would like to customize the scanning frame as attached image. Can you please let me know how can we achieve this. I tried adjusting the below hook lengths in dimens.xml but no luck.

<dimen name="mb_hook_length_vertical">16dp</dimen>
<dimen name="mb_hook_length_horizontal">24dp</dimen>
<dimen name="mb_hook_stroke_width">5dp</dimen>

Can we give a background image to the scanning area?

Please help.

Thanks,
Harish
bg

Change overlay color

Hi,

Can we change the overlay used in DocumentOverlayController to some desired color. As of now, it is a semi-transparent screen. How do we customize it?
Also, can we disable the scan frame rotation when we rotate the device from portrait to landscape? I tried uiSettings = new DocumentUISettings(intent); uiSettings.setRegionOfInterestRotatable(false); but uiSettings.getRegionOfInterestRotatable(); already return false.

Model signature verification failed!

I have an issue with blink ui id integration in android for specific OS version 6. Please support to resolve this issue.

E/line:173: Unable to reserve address space
E/line:427: Model signature verification failed!
W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
W/google-breakpad: Chrome build fingerprint:
W/google-breakpad: 5.3.1
W/google-breakpad: 558
W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x44 in tid 13949 (Recognition)

Recognition state is getting reset

Hi,

We are using Blink ID 4.8.0 for UAE ID card recognition. Once we scan the first side, we proceed to scanning the back side of the ID. But sometimes of there is significant glare on the screen, we are prompted with the glare warning text and then the recognition resets to the first side again. The message comes as - Please scan the front side of the selected document or choose another. Ideally it should not reset if back scanning is having issues.

Thanks!

Is glare tolerance configurable?

Hello,

Was just wondering if we can configure the glare tolerance while capturing. Sometimes it is really difficult to scan even when there is just slight glare which is ok to proceed with.

Get Date of issue on Passport

I'm Using blinkid-ui-android to scan International passport but i don't get the date of issue in the result.
How can I get the date of issue form Int' Passport

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.