@microblink/blinkcard-in-browser-sdk
Advanced tools
Changelog
2.9.0
allowInvalidCardNumber
which allows reading invalid card numbers to avoid endless scanning on samples and test cards:
cardNumberValid
in BlinkCardRecognizer.Result
will be set to false
handScaleThreshold
, handDocumentOverlapThreshold
, screenAnalysisMatchLevel
, photocopyAnalysisMatchLevel
. These settings are used in combination with the new liveness features.LivenessStatusCallback
, which is invoked when each side of a card is scanned. It is called with one parameter, a LivenessStatus
enum. Use BlinkCardRecognizer.setLivenessStatusCallback
method to set the callback.firstSideAnonymized
and secondSideAnonymized
have been added to indicate whether the first or second side of the card has been anonymized, respectively.documentLivenessCheck
which has new liveness model results. It contains liveness information about the first and second sides of the card. Liveness information contains the results of checks performed on the card using screen detection, photocopy detection, and the presence of a live hand.Depending on the device used, the SDK will allocate different amounts of memory on startup. This is primarily used as a mitigation mechanism for iOS's memory management, which often blocks webassembly memory growth.
Although it's not recommended, this can be overridden using WasmSDKLoadSettings.initialMemory
.
Changelog
2.7.0
fallbackAnonymization
property to AnonymizationSettings
. If true
, anonymization is applied on all fields of the image if extraction is uncertain.wasm-unsafe-eval
content security policy.::part()
pseudo-selector to enable safe CSS customization of nested elements like mb-camera-toolbar
.Changelog
2.6.0
WasmSDKLoadSettings.workerLocation
was added for this purpose and represents a path to the external worker script file.resources
directory.recognitionPauseTimeout
to the UI component that defines scanning pause after the first side of a document has been scanned.
3800
and represents time in milliseconds.cameraExperienceStateDurations
on the UI component that can be used to change the default durations of UI animations.Changelog
2.4.2
startCameraScan()
and startImageScan(File)
methods on the custom web element.part::
selector and added an example.fatalError
and scanError
events in the UI component.Changelog
2.4.1
VideoRecognizer.changeCameraDevice
method that can be used to change the active camera device during the scanning sessionChangelog
2.4.0
advanced
and advanced-threads
binaries are using SIMD. In case that the browser doesn't support this feature, basic
binary will be used.Changelog
2.3.0
WasmSDK.delete()
was added for this purpose and is available on every instance of the SDK.VideoRecognizer
class.
Changelog
2.2.2
detectWasmType()
returns the best possible WebAssembly bundle based on the features a browser supports.wasmFolder( WasmType )
returns the name of the resources subfolder of the provided WebAssembly bundle type.WasmLoadUtils.ts
file.Scan or choose from gallery
) and action buttons (Device camera
and From gallery
) are now responsive on Safari.