Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v6.5.0 #314

Merged
merged 3 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void extractMixedResults(BlinkIdMultiSideRecognizer.Result result) {
add(R.string.MBDocumentFrontImageMrzStatus, result.getFrontImageAnalysisResult().getMrzDetectionStatus().name());
add(R.string.MBDocumentFrontImageBarcodeStatus, result.getFrontImageAnalysisResult().getBarcodeDetectionStatus().name());
add(R.string.MBDocumentFrontImageCardOrientation, result.getFrontImageAnalysisResult().getCardOrientation().name());
add(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation().name());
add(R.string.MBDocumentFrontImageCardRotation, result.getFrontImageAnalysisResult().getCardRotation() != null ? result.getFrontImageAnalysisResult().getCardRotation().name() : "null");

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

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

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

addIfNotEmpty(R.string.MBProcessingStatus, result.getProcessingStatus().name());
addIfNotEmpty(R.string.MBFrontProcessingStatus, result.getFrontProcessingStatus().name());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private void extractMixedResults(BlinkIdSingleSideRecognizer.Result result) {
add(R.string.MBDocumentImageMrzStatus, result.getImageAnalysisResult().getMrzDetectionStatus().name());
add(R.string.MBDocumentImageBarcodeStatus, result.getImageAnalysisResult().getBarcodeDetectionStatus().name());
add(R.string.MBDocumentImageCardOrientation, result.getImageAnalysisResult().getCardOrientation().name());
add(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation().name());
add(R.string.MBDocumentImageCardRotation, result.getImageAnalysisResult().getCardRotation() != null ? result.getImageAnalysisResult().getCardRotation().name() : "null");

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

addIfNotEmpty(R.string.MBProcessingStatus, result.getProcessingStatus().name());
addIfNotEmpty(R.string.MBRecognitionMode, result.getRecognitionMode().name());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public static byte[] loadBytesFromFileUri(Uri fileUri, Context context) {
return buffer.toByteArray();
} catch (FileNotFoundException e) {
e.printStackTrace();
Toast.makeText(context, R.string.toast_error_open_file, Toast.LENGTH_SHORT).show();
Toast.makeText(context, com.microblink.blinkid.libutils.R.string.toast_error_open_file, Toast.LENGTH_SHORT).show();
} catch (IOException e) {
e.printStackTrace();
Toast.makeText(context, R.string.toast_error_read_file, Toast.LENGTH_SHORT).show();
Toast.makeText(context, com.microblink.blinkid.libutils.R.string.toast_error_read_file, Toast.LENGTH_SHORT).show();
} finally {
try {
fileStream.close();
Expand Down
4 changes: 2 additions & 2 deletions BlinkIDSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ allprojects {
// versions of libraries that all modules require

project.ext {
blinkIdVersion = '6.4.0'
blinkIdVersion = '6.5.0'
compileSdkVersion = 33
targetSdkVersion = 33
appCompatVersion = '1.4.0'
appCompatVersion = '1.6.1'
}
Binary file modified LibBlinkID.aar
Binary file not shown.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,19 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true

```
dependencies {
implementation('com.microblink:blinkid:6.4.0@aar') {
implementation('com.microblink:blinkid:6.5.0@aar') {
transitive = true
}
}
```

#### Importing Javadoc

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:
Android studio should automatically import javadoc from maven dependency. If that doesn't happen, you can do that manually by following these steps:

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

### Android Version

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

### Camera

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.

### Processor architecture

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

_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).

Expand Down
8 changes: 8 additions & 0 deletions Release notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Release notes

## v6.5.0
- 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

### Bugfixes
- Fixed data matching issue in Guatamala Passport
- Fixed `ArrayIndexOutOfBoundsException` in default UI
- Fixed `NullPointerException` in `RecognizerRunnerView` that happened in rare cases

## v6.4.0
### New features
- Added new result member `cardRotation` to `ImageAnalysisResult` structure
Expand Down
2 changes: 1 addition & 1 deletion builtFromCommit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Built from commit c73e51083dd9517a2298231f1981ec2c982feb39
Built from commit 7aaf5e74b5797b177215f5fb7484652153d1ce1b
2 changes: 1 addition & 1 deletion docs/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head>
<body class="all-classes-index-page">
Expand Down
2 changes: 1 addition & 1 deletion docs/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
</head>
<body class="all-packages-index-page">
Expand Down
2 changes: 1 addition & 1 deletion docs/com/microblink/blinkid/MicroblinkSDK.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
Expand Down
Loading