Skip to content

Commit f4e3972

Browse files
authored
Merge pull request #314 from BlinkID/release/v6.5.0
Release/v6.5.0
2 parents aa6d05a + 395fa56 commit f4e3972

File tree

531 files changed

+732
-1041
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

531 files changed

+732
-1041
lines changed

BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/result/extract/blinkid/generic/BlinkIdMultiSideRecognizerResultExtractor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ private void extractMixedResults(BlinkIdMultiSideRecognizer.Result result) {
200200
add(R.string.MBDocumentFrontImageMrzStatus, result.getFrontImageAnalysisResult().getMrzDetectionStatus().name());
201201
add(R.string.MBDocumentFrontImageBarcodeStatus, result.getFrontImageAnalysisResult().getBarcodeDetectionStatus().name());
202202
add(R.string.MBDocumentFrontImageCardOrientation, result.getFrontImageAnalysisResult().getCardOrientation().name());
203-
add(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation().name());
203+
add(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation() != null ? result.getFrontImageAnalysisResult().getCardRotation().name() : "null");
204204

205205
add(R.string.MBDocumentBackImageBlurred, result.getBackImageAnalysisResult().isBlurred());
206206
add(R.string.MBDocumentBackImageColorStatus, result.getBackImageAnalysisResult().getDocumentImageColorStatus().name());
@@ -209,7 +209,7 @@ private void extractMixedResults(BlinkIdMultiSideRecognizer.Result result) {
209209
add(R.string.MBDocumentBackImageMrzStatus, result.getBackImageAnalysisResult().getMrzDetectionStatus().name());
210210
add(R.string.MBDocumentBackImageBarcodeStatus, result.getBackImageAnalysisResult().getBarcodeDetectionStatus().name());
211211
add(R.string.MBDocumentBackImageCardOrientation, result.getBackImageAnalysisResult().getCardOrientation().name());
212-
add(R.string.MBDocumentBackImageCardRotation, result.getBackImageAnalysisResult().getCardRotation().name());
212+
add(R.string.MBDocumentBackImageCardRotation, result.getBackImageAnalysisResult().getCardRotation() != null ? result.getBackImageAnalysisResult().getCardRotation().name() : "null");
213213

214214
add(R.string.MBProcessingStatus, result.getProcessingStatus().name());
215215
add(R.string.MBFrontProcessingStatus, result.getFrontProcessingStatus().name());
@@ -295,7 +295,7 @@ private void extractMixedNonEmptyResults(BlinkIdMultiSideRecognizer.Result resul
295295
addIfNotEmpty(R.string.MBDocumentFrontImageMrzStatus, result.getFrontImageAnalysisResult().getMrzDetectionStatus().name());
296296
addIfNotEmpty(R.string.MBDocumentFrontImageBarcodeStatus, result.getFrontImageAnalysisResult().getBarcodeDetectionStatus().name());
297297
addIfNotEmpty(R.string.MBDocumentFrontImageCardOrientation, result.getFrontImageAnalysisResult().getCardOrientation().name());
298-
addIfNotEmpty(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation().name());
298+
addIfNotEmpty(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation() != null ? result.getFrontImageAnalysisResult().getCardRotation().name() : "null");
299299

300300
add(R.string.MBDocumentBackImageBlurred, result.getBackImageAnalysisResult().isBlurred());
301301
addIfNotEmpty(R.string.MBDocumentBackImageColorStatus, result.getBackImageAnalysisResult().getDocumentImageColorStatus().name());
@@ -304,7 +304,7 @@ private void extractMixedNonEmptyResults(BlinkIdMultiSideRecognizer.Result resul
304304
addIfNotEmpty(R.string.MBDocumentBackImageMrzStatus, result.getBackImageAnalysisResult().getMrzDetectionStatus().name());
305305
addIfNotEmpty(R.string.MBDocumentBackImageBarcodeStatus, result.getBackImageAnalysisResult().getBarcodeDetectionStatus().name());
306306
addIfNotEmpty(R.string.MBDocumentBackImageCardOrientation, result.getBackImageAnalysisResult().getCardOrientation().name());
307-
addIfNotEmpty(R.string.MBDocumentBackImageCardRotation, result.getBackImageAnalysisResult().getCardRotation().name());
307+
addIfNotEmpty(R.string.MBDocumentBackImageCardRotation, result.getBackImageAnalysisResult().getCardRotation() != null ? result.getBackImageAnalysisResult().getCardRotation().name() : "null");
308308

309309
addIfNotEmpty(R.string.MBProcessingStatus, result.getProcessingStatus().name());
310310
addIfNotEmpty(R.string.MBFrontProcessingStatus, result.getFrontProcessingStatus().name());

BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/result/extract/blinkid/generic/BlinkIdSingleSideRecognizerResultExtractor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private void extractMixedResults(BlinkIdSingleSideRecognizer.Result result) {
184184
add(R.string.MBDocumentImageMrzStatus, result.getImageAnalysisResult().getMrzDetectionStatus().name());
185185
add(R.string.MBDocumentImageBarcodeStatus, result.getImageAnalysisResult().getBarcodeDetectionStatus().name());
186186
add(R.string.MBDocumentImageCardOrientation, result.getImageAnalysisResult().getCardOrientation().name());
187-
add(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation().name());
187+
add(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation() != null ? result.getImageAnalysisResult().getCardRotation().name() : "null");
188188

189189
add(R.string.MBProcessingStatus, result.getProcessingStatus().name());
190190
add(R.string.MBRecognitionMode, result.getRecognitionMode().name());
@@ -264,7 +264,7 @@ private void extractMixedNonEmptyResults(BlinkIdSingleSideRecognizer.Result resu
264264
addIfNotEmpty(R.string.MBDocumentImageMrzStatus, result.getImageAnalysisResult().getMrzDetectionStatus().name());
265265
addIfNotEmpty(R.string.MBDocumentImageBarcodeStatus, result.getImageAnalysisResult().getBarcodeDetectionStatus().name());
266266
addIfNotEmpty(R.string.MBDocumentImageCardOrientation, result.getImageAnalysisResult().getCardOrientation().name());
267-
addIfNotEmpty(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation().name());
267+
addIfNotEmpty(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation() != null ? result.getImageAnalysisResult().getCardRotation().name() : "null");
268268

269269
addIfNotEmpty(R.string.MBProcessingStatus, result.getProcessingStatus().name());
270270
addIfNotEmpty(R.string.MBRecognitionMode, result.getRecognitionMode().name());

BlinkIDSample/LibUtils/src/main/java/com/microblink/blinkid/util/FileUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ public static byte[] loadBytesFromFileUri(Uri fileUri, Context context) {
2828
return buffer.toByteArray();
2929
} catch (FileNotFoundException e) {
3030
e.printStackTrace();
31-
Toast.makeText(context, R.string.toast_error_open_file, Toast.LENGTH_SHORT).show();
31+
Toast.makeText(context, com.microblink.blinkid.libutils.R.string.toast_error_open_file, Toast.LENGTH_SHORT).show();
3232
} catch (IOException e) {
3333
e.printStackTrace();
34-
Toast.makeText(context, R.string.toast_error_read_file, Toast.LENGTH_SHORT).show();
34+
Toast.makeText(context, com.microblink.blinkid.libutils.R.string.toast_error_read_file, Toast.LENGTH_SHORT).show();
3535
} finally {
3636
try {
3737
fileStream.close();

BlinkIDSample/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ allprojects {
2525
// versions of libraries that all modules require
2626

2727
project.ext {
28-
blinkIdVersion = '6.4.0'
28+
blinkIdVersion = '6.5.0'
2929
compileSdkVersion = 33
3030
targetSdkVersion = 33
31-
appCompatVersion = '1.4.0'
31+
appCompatVersion = '1.6.1'
3232
}

LibBlinkID.aar

49.7 KB
Binary file not shown.

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,19 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true
114114

115115
```
116116
dependencies {
117-
implementation('com.microblink:blinkid:6.4.0@aar') {
117+
implementation('com.microblink:blinkid:6.5.0@aar') {
118118
transitive = true
119119
}
120120
}
121121
```
122122

123123
#### Importing Javadoc
124124

125-
Android studio 3.0 should automatically import javadoc from maven dependency. If that doesn't happen, you can do that manually by following these steps:
125+
Android studio should automatically import javadoc from maven dependency. If that doesn't happen, you can do that manually by following these steps:
126126

127127
1. In Android Studio project sidebar, ensure [project view is enabled](https://developer.android.com/sdk/installing/studio-androidview.html)
128128
2. Expand `External Libraries` entry (usually this is the last entry in project view)
129-
3. Locate `blinkid-6.4.0` entry, right click on it and select `Library Properties...`
129+
3. Locate `blinkid-6.5.0` entry, right click on it and select `Library Properties...`
130130
4. A `Library Properties` pop-up window will appear
131131
5. Click the second `+` button in bottom left corner of the window (the one that contains `+` with little globe)
132132
6. Window for defining documentation URL will appear
@@ -229,15 +229,15 @@ Android studio 3.0 should automatically import javadoc from maven dependency. If
229229

230230
### Android Version
231231

232-
_BlinkID_ requires Android API level **21** or newer. SDK will work only on versions of Android 5.0 (Lollipop) or above.
232+
_BlinkID_ requires Android API level **21** or newer.
233233

234234
### Camera
235235

236236
Camera video preview resolution also matters. In order to perform successful scans, camera preview resolution must be at least 720p. Note that camera preview resolution is not the same as video recording resolution.
237237

238238
### Processor architecture
239239

240-
_BlinkID_ is distributed with **ARMv7** and **ARM64** native library binaries. The support for **x86** and **x86_64** has been removed in _BlinkID v6.0_.
240+
_BlinkID_ is distributed with **ARMv7** and **ARM64** native library binaries.
241241

242242
_BlinkID_ is a native library, written in C++ and available for multiple platforms. Because of this, _BlinkID_ cannot work on devices with obscure hardware architectures. We have compiled _BlinkID_ native code only for the most popular Android [ABIs](https://en.wikipedia.org/wiki/Application_binary_interface).
243243

Release notes.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release notes
22

3+
## v6.5.0
4+
- Improved the document side detection for US driver licenses which reduces the possibility of capturing the wrong side of the document. Barcode is now mandatory for the document back side of the US driving licenses
5+
6+
### Bugfixes
7+
- Fixed data matching issue in Guatamala Passport
8+
- Fixed `ArrayIndexOutOfBoundsException` in default UI
9+
- Fixed `NullPointerException` in `RecognizerRunnerView` that happened in rare cases
10+
311
## v6.4.0
412
### New features
513
- Added new result member `cardRotation` to `ImageAnalysisResult` structure

builtFromCommit.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Built from commit c73e51083dd9517a2298231f1981ec2c982feb39
1+
Built from commit 7aaf5e74b5797b177215f5fb7484652153d1ce1b

docs/allclasses-index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="script.js"></script>
14-
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="all-classes-index-page">

docs/allpackages-index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="script.js"></script>
14-
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="all-packages-index-page">

docs/com/microblink/blinkid/MicroblinkSDK.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
1212
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
1313
<script type="text/javascript" src="../../../script.js"></script>
14-
<script type="text/javascript" src="../../../script-dir/jquery-3.6.0.min.js"></script>
14+
<script type="text/javascript" src="../../../script-dir/jquery-3.6.1.min.js"></script>
1515
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
1616
</head>
1717
<body class="class-declaration-page">

0 commit comments

Comments
 (0)