BlinkID / blinkid-xamarin

ID scanning SDK, wrapped for cross-platform apps built with Xamarin.
https://microblink.com/blinkid
50 stars 24 forks source link

How to get high resolution scanned document image #75

Closed devperson closed 5 months ago

devperson commented 5 months ago

Hi, I am using Xamarin BlinkId to scan documents. Everything works great! My issue is that when I get the scanned document as an ImageSource I see that it is cropped. How can I get the high-resolution scanned image?

MBrizic01 commented 5 months ago

hi @devperson if would like to obtain the full camera frame, you can do so by adding the following lines of code here. blinkidRecognizer.SaveCameraFrames = true; and you will obtain the image in the results: if (blinkidRecognizer.Result.ResultState == RecognizerResultState.Valid) { var blinkidResult = blinkidRecognizer.Result; var frontCameraImage = blinkidResult.FrontCameraFrame;

devperson commented 5 months ago

@MBrizic01 Thanks for the response but I don't have such SaveCameraFrames property in IBlinkIdCombinedRecognizer and the FrontCameraFrame property in IBlinkIdCombinedRecognizerResult I am using BlinkID.Forms version 5.15 (latest version)

MBrizic01 commented 5 months ago

@devperson Please update to the latest version of our SDK (5.19.0) to use the full potential of our product. The saveCameraFrame property was added in 5.16.0

devperson commented 5 months ago

@MBrizic01 Thanks after manually installing BlinkID.Forms.Core version: 5.19.0 I can see those properties. JFI: The latest BlinkID.Forms version is 5.15 but BlinkID.Forms.Core is 5.19.0

MBrizic01 commented 5 months ago

@devperson great! thanks for your feedback!