BlinkID / blinkid-in-browser

BlinkID In-browser SDK for WebAssembly-enabled browsers.
https://microblink.com/blinkid
58 stars 30 forks source link

Version 6.0.0^ is missing documentation on how to migrate away from createSuccessFrameGrabberRecognizer() #105

Closed jamesbarrett95 closed 1 year ago

jamesbarrett95 commented 1 year ago

Issue:

After upgrading to version 6.0.0^, the createSuccessFrameGrabberRecognizer() method does not exist on the BlinkSDK, but there is no documentation on why this was removed and how to migrate away from it.

The success frame grabber is documented herein version 5.20.1

AngTim commented 1 year ago

Hello James,

Thank you for the inquiry. Since the SuccessFrameGrabberRecognizer() method was deprecated in version 6.0.0, you can set the saveCameraFrames setting inside the application:

https://github.com/BlinkID/blinkid-in-browser/blob/6a5d9c0ecbd3e38b07134bdfaaa742ec6ed68550/src/Recognizers/BlinkID/Generic/BlinkIdSingleSideRecognizer.ts#L99

And you can update the recognizer setting by following the instructions inside our GitHub repository https://github.com/BlinkID/blinkid-in-browser#-recognizer-settings

where the setting should be set to true settings[ "saveCameraFrames" ] = true;

Once the setting is enabled, you should receive additional result fields such as frontCameraFrame and backCameraFrame.

Please let me know if the suggestion helps, and feel free to reach out if you have any questions.

Kind regards, Angelo Microblink LTD