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

Get high resolution image #411

Open
devperson opened this issue Mar 28, 2024 · 1 comment
Open

Get high resolution image #411

devperson opened this issue Mar 28, 2024 · 1 comment

Comments

@devperson
Copy link

Is there any way to get high resolution scanned image in Swift like you have in the Java sample? (https://github.com/BlinkID/blinkid-android/blob/master/BlinkIDSample/BlinkID-ImagesSample/src/main/java/com/microblink/blinkid/MainActivity.java)

@MBrizic01
Copy link

Hello, you can obtain the full camera frame with the saveCameraFrame property by setting it to true when defining the recognizer.

self.blinkIdRecognizer?.saveCameraFrames = true

and then in the results:

let frontCameraImage = self.blinkIdRecognizer?.result.frontCameraFrame
let backCameraImage = self.blinkIdRecognizer?.result.backCameraFrame

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