Skip to content

Commit

Permalink
Merge pull request #258 from BlinkID/release/v5.14.0
Browse files Browse the repository at this point in the history
Release/v5.14.0
  • Loading branch information
krizaa authored Oct 1, 2021
2 parents f3d6210 + 3ac1d69 commit afd5658
Show file tree
Hide file tree
Showing 72 changed files with 4,550 additions and 540 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void onPreviewFrame(byte[] data, Camera camera) {
if (mRecognizerRunner.getCurrentState() == RecognizerRunner.State.READY) {
// create image
Image img = ImageBuilder.buildImageFromCamera1NV21Frame(data, mFrameWidth, mFrameHeight, Orientation.ORIENTATION_LANDSCAPE_RIGHT, null);
mRecognizerRunner.recognizeImage(img, this);
mRecognizerRunner.recognizeImage(img, true, this);
} else {
// just ask for another frame
camera.addCallbackBuffer(data);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void onImageAvailable(ImageReader reader) {
com.microblink.image.Image image = ImageBuilder.buildImageFromCamera2Image(mImageBeingRecognized, Orientation.ORIENTATION_LANDSCAPE_RIGHT, null);
Log.i(TAG, "Starting recognition");
mTimestamp = System.currentTimeMillis();
mRecognizer.recognizeImage(image, Camera2Fragment.this);
mRecognizer.recognizeImage(image, true, Camera2Fragment.this);
} else {
Log.v(TAG, "Recognizer is busy. Dropping current frame");
img.close();
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ private void extractMixedResults(BlinkIdCombinedRecognizer.Result result) {
add(R.string.PPFullName, result.getFullName());
add(R.string.PPAdditionalNameInformation, result.getAdditionalNameInformation());
add(R.string.PPLocalizedName, result.getLocalizedName());
add(R.string.PPFatherName, result.getFathersName());
add(R.string.PPMotherName, result.getMothersName());
add(R.string.PPSex, result.getSex());

add(R.string.PPAddress, result.getAddress());
Expand Down Expand Up @@ -127,6 +129,8 @@ private void extractVisualResults(VizResult result) {
addIfNotEmpty(R.string.PPFullName, result.getFullName());
addIfNotEmpty(R.string.PPAdditionalNameInformation, result.getAdditionalNameInformation());
addIfNotEmpty(R.string.PPLocalizedName, result.getLocalizedName());
addIfNotEmpty(R.string.PPFatherName, result.getFathersName());
addIfNotEmpty(R.string.PPMotherName, result.getMothersName());
addIfNotEmpty(R.string.PPSex, result.getSex());

addIfNotEmpty(R.string.PPAddress, result.getAddress());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ private void extractMixedResults(BlinkIdRecognizer.Result result) {
add(R.string.PPFullName, result.getFullName());
add(R.string.PPAdditionalNameInformation, result.getAdditionalNameInformation());
add(R.string.PPLocalizedName, result.getLocalizedName());
add(R.string.PPFatherName, result.getFathersName());
add(R.string.PPMotherName, result.getMothersName());
add(R.string.PPSex, result.getSex());

add(R.string.PPAddress, result.getAddress());
Expand Down Expand Up @@ -116,6 +118,8 @@ private void extractVisualResults(VizResult result) {
addIfNotEmpty(R.string.PPFullName, result.getFullName());
addIfNotEmpty(R.string.PPAdditionalNameInformation, result.getAdditionalNameInformation());
addIfNotEmpty(R.string.PPLocalizedName, result.getLocalizedName());
addIfNotEmpty(R.string.PPFatherName, result.getFathersName());
addIfNotEmpty(R.string.PPMotherName, result.getMothersName());
addIfNotEmpty(R.string.PPSex, result.getSex());

addIfNotEmpty(R.string.PPAddress, result.getAddress());
Expand Down
2 changes: 1 addition & 1 deletion BlinkIDSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ allprojects {
// versions of libraries that all modules require

project.ext {
blinkIdVersion = '5.13.0'
blinkIdVersion = '5.14.0'
compileSdkVersion = 30
targetSdkVersion = 30
appCompatVersion = '1.2.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 @@ -113,7 +113,7 @@ Add _BlinkID_ as a dependency and make sure `transitive` is set to true

```
dependencies {
implementation('com.microblink:blinkid:5.13.0@aar') {
implementation('com.microblink:blinkid:5.14.0@aar') {
transitive = true
}
}
Expand All @@ -125,7 +125,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-5.13.0` entry, right click on it and select `Library Properties...`
3. Locate `blinkid-5.14.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
Loading

0 comments on commit afd5658

Please sign in to comment.