blinkid-react-native
Advanced tools
Comparing version 6.7.0 to 6.9.0
import { OverlaySettings } from '../overlaySettings' | ||
import { AndroidCameraResolutionPreset, | ||
iOSCameraResolutionPreset | ||
} from '../types' | ||
/** | ||
@@ -170,2 +172,35 @@ * Class for setting up document overlay. | ||
this.showCancelButton = true; | ||
/** | ||
* String: instructions for the user when blur has been detected on the document. | ||
* If null, default value will be used. | ||
*/ | ||
this.errorBlurDetected = null; | ||
/** | ||
* String: instructions for the user when glare has been detected on the document. | ||
* If null, default value will be used. | ||
*/ | ||
this.errorGlareDetected = null; | ||
/** | ||
* Defines possible Android device camera video resolution preset. | ||
* | ||
* Default: PresetDefault | ||
*/ | ||
this.androidCameraResolutionPreset = AndroidCameraResolutionPreset.PresetDefault; | ||
/** | ||
* Defines possible iOS device camera video resolution preset. | ||
* | ||
* Default: PresetOptimal | ||
*/ | ||
this.iosCameraResolutionPreset = iOSCameraResolutionPreset.PresetOptimal; | ||
/** | ||
* Option to set whether legacy camera API should be used even on Lollipop devices that support newer Camera2 API. | ||
* WARNING: This setting should only be used if the new Camera2 API is not working on the device. This setting should not be applied on all devices. | ||
* Default: false | ||
*/ | ||
this.enableAndroidLegacyCameraApi = false; | ||
} | ||
@@ -172,0 +207,0 @@ } |
{ | ||
"name": "blinkid-react-native", | ||
"version": "6.7.0", | ||
"version": "6.9.0", | ||
"description": "A small and powerful ID card scanning library. Powered by Microblink (www.microblink.com).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,3 @@ # BlinkID SDK wrapper for React Native | ||
BlinkID React Native was built and tested with [React Native v0.71.2](https://github.com/facebook/react-native/releases/tag/v0.71.2) | ||
BlinkID React Native was built and tested with [React Native v0.74.0](https://github.com/facebook/react-native/releases/tag/v0.74.0) | ||
@@ -28,0 +28,0 @@ ## Installation |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -151,2 +152,7 @@ | ||
/** | ||
* The transcription of the document subtype. | ||
*/ | ||
this.documentSubtype = nativeResult.documentSubtype; | ||
/** | ||
* The driver license detailed info. | ||
@@ -308,2 +314,12 @@ */ | ||
/** | ||
* The remarks on the residence permit. | ||
*/ | ||
this.remarks = nativeResult.remarks; | ||
/** | ||
* The residence permit type. | ||
*/ | ||
this.residencePermitType = nativeResult.residencePermitType; | ||
/** | ||
* The residential stauts of the document owner. | ||
@@ -334,2 +350,7 @@ */ | ||
/** | ||
* The visa type. | ||
*/ | ||
this.visaType = nativeResult.visaType; | ||
} | ||
@@ -351,9 +372,2 @@ } | ||
/** | ||
* Defines whether blured frames filtering is allowed | ||
* | ||
* | ||
*/ | ||
this.allowBlurFilter = true; | ||
/** | ||
* Proceed with scanning the back side even if the front side result is uncertain. | ||
@@ -390,2 +404,28 @@ * This only works for still images - video feeds will ignore this setting. | ||
/** | ||
* Strictness level for blur detection. | ||
* | ||
* | ||
*/ | ||
this.blurStrictnessLevel = StrictnessLevel.Normal; | ||
/** | ||
* Get custom class rules. | ||
*/ | ||
this.customClassRules = []; | ||
/** | ||
* Skip processing of the blurred frames. | ||
* | ||
* | ||
*/ | ||
this.enableBlurFilter = true; | ||
/** | ||
* Skip processing of the glared frames. | ||
* | ||
* | ||
*/ | ||
this.enableGlareFilter = true; | ||
/** | ||
* Property for setting DPI for face images | ||
@@ -415,2 +455,9 @@ * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception | ||
/** | ||
* Strictness level for glare detection. | ||
* | ||
* | ||
*/ | ||
this.glareStrictnessLevel = StrictnessLevel.Normal; | ||
/** | ||
* Configure the number of characters per field that are allowed to be inconsistent in data match. | ||
@@ -417,0 +464,0 @@ * |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -123,2 +124,7 @@ | ||
/** | ||
* The transcription of the document subtype. | ||
*/ | ||
this.documentSubtype = nativeResult.documentSubtype; | ||
/** | ||
* The driver license detailed info. | ||
@@ -255,2 +261,12 @@ */ | ||
/** | ||
* The remarks on the residence permit. | ||
*/ | ||
this.remarks = nativeResult.remarks; | ||
/** | ||
* The residence permit type. | ||
*/ | ||
this.residencePermitType = nativeResult.residencePermitType; | ||
/** | ||
* The residential stauts of the document owner. | ||
@@ -276,2 +292,7 @@ */ | ||
/** | ||
* The visa type. | ||
*/ | ||
this.visaType = nativeResult.visaType; | ||
/** | ||
* Defines the data extracted from the visual inspection zone | ||
@@ -297,9 +318,2 @@ */ | ||
/** | ||
* Defines whether blured frames filtering is allowed | ||
* | ||
* | ||
*/ | ||
this.allowBlurFilter = true; | ||
/** | ||
* Defines whether returning of unparsed MRZ (Machine Readable Zone) results is allowed | ||
@@ -328,2 +342,28 @@ * | ||
/** | ||
* Strictness level for blur detection. | ||
* | ||
* | ||
*/ | ||
this.blurStrictnessLevel = StrictnessLevel.Normal; | ||
/** | ||
* Get custom class rules. | ||
*/ | ||
this.customClassRules = []; | ||
/** | ||
* Skip processing of the blurred frames. | ||
* | ||
* | ||
*/ | ||
this.enableBlurFilter = true; | ||
/** | ||
* Skip processing of the glared frames. | ||
* | ||
* | ||
*/ | ||
this.enableGlareFilter = true; | ||
/** | ||
* Property for setting DPI for face images | ||
@@ -353,2 +393,9 @@ * Valid ranges are [100,400]. Setting DPI out of valid ranges throws an exception | ||
/** | ||
* Strictness level for glare detection. | ||
* | ||
* | ||
*/ | ||
this.glareStrictnessLevel = StrictnessLevel.Normal; | ||
/** | ||
* Pading is a minimum distance from the edge of the frame and is defined as a percentage of the frame width. Default value is 0.0f and in that case | ||
@@ -355,0 +402,0 @@ * padding edge and image edge are the same. |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
@@ -16,2 +16,3 @@ import { Recognizer, RecognizerResult } from '../recognizer' | ||
RecognitionModeFilter, | ||
StrictnessLevel, | ||
@@ -18,0 +19,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
546817
6877