Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImagePicker #28

Open
mrisney opened this issue Oct 7, 2021 · 1 comment
Open

ImagePicker #28

mrisney opened this issue Oct 7, 2021 · 1 comment

Comments

@mrisney
Copy link

mrisney commented Oct 7, 2021

How can the flutter library, to use imagePickerController, allowing end user to chose image from camera instead of overlay scan ?

Need this for an out of mobile service use case scenario, where end user would not be able to pass ID information to hosted persistence api.

@mparadina
Copy link
Contributor

Hi @mrisney

Thank you for waiting for our response.

This way of scanning and information extraction (using the camera to take an image, or by choosing an image from the device's Gallery/Photos) on our side is called the DirectAPI. This method of scanning is not directly available for the SDK on Flutter, only on native platforms.
In order to use the DirectAPI method on Flutter, you would first need to implement it on the native platforms, then wrap it to be usable for Flutter. Then you can use Flutter's imagePicker to load the images and then send them to the DirectAPI for processing.

I recommend taking a look at the DirectAPI documentation here:

Android:
https://github.com/BlinkID/blinkid-android#directAPI

iOS:
https://github.com/BlinkID/blinkid-ios#direct-api-processing

We also have samples which demonstrate the usage of the DirectAPI method of scanning here:

Android:
https://github.com/BlinkID/blinkid-android/tree/master/BlinkIDSample/BlinkID-DirectApiSample

iOS:
https://github.com/BlinkID/blinkid-ios/tree/master/Samples/DirectAPI-sample-Swift

Let me know if you have any additional questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants