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.4.0 #309

Merged
merged 5 commits into from
Dec 12, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ public void onQuadDetection(@NonNull DisplayableQuadDetection displayableQuadDet
// displays message about detection status to the user
if (detectionStatus == DetectionStatus.SUCCESS) {
displayText(R.string.msg_processing);
} else if (detectionStatus == DetectionStatus.FAIL) {
} else if (detectionStatus == DetectionStatus.FAILED) {
displayText(R.string.msg_align);
} else if (detectionStatus == DetectionStatus.CAMERA_TOO_HIGH) {
displayText(R.string.msg_camera_too_high);
} else if (detectionStatus == DetectionStatus.PARTIAL_OBJECT) {
} else if (detectionStatus == DetectionStatus.CAMERA_TOO_FAR) {
displayText(R.string.msg_camera_too_far);
} else if (detectionStatus == DetectionStatus.DOCUMENT_PARTIALLY_VISIBLE) {
displayText(R.string.msg_partial_detected);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<string name="msg_align">Position the phone over the slip</string>
<string name="msg_processing">Please, hold your phone still, processing</string>
<string name="msg_camera_too_high">Please position the phone closer to the slip</string>
<string name="msg_camera_too_far">Please position the phone closer to the slip</string>
<string name="msg_partial_detected">Some parts of the payslip are not visible</string>


Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +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.MBDocumentBackImageBlurred, result.getBackImageAnalysisResult().isBlurred());
add(R.string.MBDocumentBackImageColorStatus, result.getBackImageAnalysisResult().getDocumentImageColorStatus().name());
Expand All @@ -208,6 +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.MBProcessingStatus, result.getProcessingStatus().name());
add(R.string.MBFrontProcessingStatus, result.getFrontProcessingStatus().name());
Expand Down Expand Up @@ -293,6 +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());

add(R.string.MBDocumentBackImageBlurred, result.getBackImageAnalysisResult().isBlurred());
addIfNotEmpty(R.string.MBDocumentBackImageColorStatus, result.getBackImageAnalysisResult().getDocumentImageColorStatus().name());
Expand All @@ -301,6 +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.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,6 +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.MBProcessingStatus, result.getProcessingStatus().name());
add(R.string.MBRecognitionMode, result.getRecognitionMode().name());
Expand Down Expand Up @@ -263,6 +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.MBProcessingStatus, result.getProcessingStatus().name());
addIfNotEmpty(R.string.MBRecognitionMode, result.getRecognitionMode().name());
Expand Down Expand Up @@ -341,7 +343,7 @@ private void extractBarcodeResults(BarcodeResult result) {

addIfNotEmpty(R.string.PPPlaceOfBirth, result.getPlaceOfBirth());
addIfNotEmpty(R.string.PPNationality, result.getNationality());

addIfNotEmpty(R.string.PPRace, result.getRace());
addIfNotEmpty(R.string.PPReligion, result.getReligion());
addIfNotEmpty(R.string.PPProfession, result.getProfession());
Expand Down
4 changes: 2 additions & 2 deletions BlinkIDSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ allprojects {
repositories {
mavenCentral()
maven { url 'https://maven.microblink.com' }
// mavenLocal()
// mavenLocal()
google()
}
}

// versions of libraries that all modules require

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

```
dependencies {
implementation('com.microblink:blinkid:6.3.0@aar') {
implementation('com.microblink:blinkid:6.4.0@aar') {
transitive = true
}
}
Expand All @@ -126,7 +126,7 @@ Android studio 3.0 should automatically import javadoc from maven dependency. If

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.3.0` entry, right click on it and select `Library Properties...`
3. Locate `blinkid-6.4.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
70 changes: 70 additions & 0 deletions Release notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Release notes

## v6.4.0
### New features
- Added new result member `cardRotation` to `ImageAnalysisResult` structure
- New `CardOrientation` status - `NotAvailable`
- New `Region` enum values:
- `DISTRITO_FEDERAL`
- `MARANHAO`
- `MATO_GROSSO`
- `MINAS_GERAIS`
- `PARA`
- `PARANA`
- `PERNAMBUCO`
- `SANTA_CATARINA`
- New `Type` enum values:
- `CONSULAR_VOTER_ID`
- `TWIC_CARD`

### Bugfixes
- Fixed the issue where the wrong values of `DetectionStatus` were returned and wrong instruction messages were shown. This is also a breaking change because the names and the order of the enum values have changed.
- Fixed `toString` method of `Date` and `DateResult`

### Added support for 8 new documents
- Bolivia - Paper Passport
- Brazil - Alien ID
- Brazil - Distrito Federal - Identity Card
- Brazil - Minas Gerais - Identity Card
- Cameroon - Polycarbonate Passport
- Costa Rica - Paper Passport
- UK - Proof of Age Card
- USA - Twic Card

### Added support for 17 new documents in BETA
- Australia - Australian Capital Territory - Identity Card
- Australia - Queensland - Proof of Age Card
- Australia - Tasmania - Identity Card
- Australia - Western Australia - Identity Card
- Bahrain - Driver’s License
- Bahrain - Paper Passport
- Brazil - Maranhao - Identity Card
- Brazil - Mato Grosso - Identity Card
- Brazil - Para - Identity Card
- Brazil - Parana - Identity Card
- Brazil - Pernambuco - Identity Card
- Brazil - Santa Catarina - Identity Card
- Cameroon - Paper Passport
- Mexico - Quintana Roo, Benito Juarez - Driver’s License
- Mexico - Quintana Roo -Driver’s License
- Switzerland - Polycarbonate Passport
- UAE - Polycarbonate Passport

### Added support for 14 new versions of already supported documents
- Brazil - Driver’s License
- Luxembourg - Identity Card
- North Macedonia - Identity Card
- Portugal - Driver’s License
- Slovakia - Identity Card
- Switzerland - Identity Card
- Switzerland - Driver’s License
- Turkey - Polycarbonate Passport
- Ukraine - Driver’s License
- USA - Arizona - Driver’s License
- USA - Arizona - Identity Card
- USA - Nebraska - Driver’s License
- USA - Pennsylvania - Identity Card
- USA - Virginia - Driver’s License

### Added support for 2 new versions of already supported documents in BETA
- Iceland - Paper Passport
- Mexico - Consular ID

## v6.3.0
### New features
- Changes to the `BlinkIdSingleSideRecognizer` and `BlinkIdMultiSideRecognizer`:
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 c7f71397ffab391a5418a8e2d7dee2fff0a8f82d
Built from commit c81993c838379f526a70bfe9524bb4da35a9dc48
Loading