Skip to content

Commit

Permalink
Release SDK 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iProovBot committed Feb 23, 2022
1 parent eb1a3b5 commit 44696cb
Show file tree
Hide file tree
Showing 48 changed files with 162 additions and 41 deletions.
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![iProov: Flexible authentication for identity assurance](images/banner.jpg)
# iProov Biometrics Android SDK v7.1.0
# iProov Biometrics Android SDK v7.2.0

## Table of contents

Expand Down Expand Up @@ -65,7 +65,7 @@ The iProov Biometrics Android SDK is provided in AAR format (Android Library Pro
```groovy
dependencies {
implementation('com.iproov.sdk:iproov:7.1.0')
implementation('com.iproov.sdk:iproov:7.2.0')
}
```
Expand Down Expand Up @@ -320,7 +320,9 @@ options.ui.title = "Authenticating to ACME Bank" // The message shown during can
options.ui.backgroundColor = Color.BLACK
options.ui.lineColor = Color.CYAN
options.ui.headerTextColor = Color.GREEN
options.ui.footerTextColor = Color.GREEN
// options.ui.footerTextColor = Color.GREEN // DEPRECATED, please use promptTextColor instead
options.ui.promptTextColor = Color.GREEN // new name for footerTextColor
options.ui.floatingPromptEnabled = true // Controls position of the prompt text on the screen. When false, at the bottom; when true, floating in the middle. Default: false
options.ui.headerBackgroundColor = Color.parseColor("#40ffff00")
options.ui.footerBackgroundColor = Color.parseColor("#40ff00ff")

Expand Down Expand Up @@ -432,24 +434,26 @@ In cases where the iProov process failed entirely (i.e. iProov was unable to ver

By default, the iProov Biometrics Android SDK leverages the [Android built-in face detector](https://developer.android.com/reference/android/media/FaceDetector). This is a simple face detector and is ubiquitous in Android phones, however it is not regularly updated. Therefore, we also support BlazeFace and ML Kit face detectors.

Here are some discoveries we have made that might help you to choose which is best for you:
The following table highlights the trade-offs with each Face Detector.

The total size impacts were approximated by measuring the APK size increases of a simple app when including only the minimum required iProov AAR dependencies: thus `CLASSIC` used only the core `iproov` AAR dependency, `BLAZEFACE` used both `iproov` and `iproov-blazeface`, and `ML_KIT` used both `iproov` and `iproov-mlkit`.

| Face detector | Size impact | Accuracy | Speed | Angles supported | Lighting conditions supported | Pose control |
|-|-|-|-|-|-|-|
| CLASSIC | 0MB (built-in) | OK | Fastest | Limited | Limited | Unsupported |
| BLAZEFACE | 2.2MB | Better | Slower | Better | Better | Unsupported |
| ML_KIT | Varies | Best | Slowest | Best | Best | Supported |
| `CLASSIC` | 700 KB | OK | Fastest | Limited | Limited | Unsupported |
| `BLAZEFACE` | 3.7 MB | Better | Slower | Better | Better | Unsupported |
| `ML_KIT` | 21.3 MB | Best | Slowest | Best | Best | Supported |
### BlazeFace support

[BlazeFace](https://arxiv.org/pdf/1907.05047.pdf) is a relatively lightweight and performant face detector. Whilst you should find that BlazeFace provides increased accuracy when compared with built-in face detector, it requires the inclusion of TensorFlow Lite with the SDK along with the necessary model, and therefore adds approximately 2.2MB to the downloaded app size. In our benchmarks, it also tends to run approximately 50% slower than the built-in "classic" face detector on very low-end devices.
[BlazeFace](https://arxiv.org/pdf/1907.05047.pdf) is a relatively lightweight and performant face detector. Whilst you should find that BlazeFace provides increased accuracy when compared with built-in face detector, it requires the inclusion of TensorFlow Lite with the SDK along with the necessary model, and therefore adds approximately 3.0 MB to the downloaded app size. In our benchmarks, it also tends to run approximately 50% slower than the built-in "classic" face detector on very low-end devices.

#### Installation steps

Add the iProov BlazeFace module to your app's build.gradle file:

```groovy
dependencies {
implementation('com.iproov.sdk:iproov-blazeface:7.1.0')
implementation('com.iproov.sdk:iproov-blazeface:7.2.0')
}
```

Expand All @@ -463,7 +467,7 @@ Add the iProov ML Kit module to your app's build.gradle file:

```groovy
dependencies {
implementation('com.iproov.sdk:iproov-mlkit:7.1.0')
implementation('com.iproov.sdk:iproov-mlkit:7.2.0')
}
```

Expand Down
17 changes: 8 additions & 9 deletions example-app/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'kotlin-android'
}

ext.iproovSdkVersion = "7.1.0"
ext.iproovSdkVersion = "7.2.0"

android {
compileSdkVersion 31
Expand Down Expand Up @@ -64,17 +64,16 @@ configurations.all {
apply from: '../iProovDependency.gradle'

dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'

implementation iproovDep()

kotlinlangImplementation group: "com.iproov.android-api-client", name: "kotlin-fuel", version: "1.3.0"
kotlinlangImplementation group: "com.iproov.android-api-client", name: "kotlin-common", version: "1.3.0"
kotlinlangImplementation group: "com.iproov.android-api-client", name: "kotlin-fuel", version: "1.4.1"
kotlinlangImplementation group: "com.iproov.android-api-client", name: "kotlin-common", version: "1.4.1"
javalangImplementation group: "com.iproov.android-api-client", name: "java-retrofit", version: "1.4.1"

javalangImplementation group: "com.iproov.android-api-client", name: "java-retrofit", version: "1.3.0"

implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.2.1"
}
3 changes: 2 additions & 1 deletion example-app/app/src/kotlinlang/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
android:label="@string/app_name"
android:theme="@style/AppTheme" >

<activity android:name=".MainActivityKotlin">
<activity android:name=".MainActivityKotlin"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b4fdd84cc5735701da3db04e4cc85900
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
036c2d21e0f9bd1fd22e7160f6dbfd99f3d8cbf0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b7809f29de11e00abf75e39b6f200d2ea6573729cc80c5790c6134ef1629384b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f227834cf94f4b7063f991545df5d62c238bfdef59a0e8280cb89445f0f76f7c543ddfdb5f0f4d3b70e22cdda49416f60693c4d1fb98079841a8e6568fa8fdb8
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov-blazeface</artifactId>
<version>7.2.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>androidx.appcompat</groupId>
<artifactId>appcompat</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.tensorflow</groupId>
<artifactId>tensorflow-lite</artifactId>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov</artifactId>
<version>7.2.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.10</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1d824e6c10666d0a50e7003b7666f486
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
81fe7da1bc2324c6173ff5d3b96b33217f67331f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
29eb0f54deb3f05de9a1e3a659e3f62a1bffda833e7a664271aed855fdcc657b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d02fe460fe1105f59a1c8a822c405bb93565f6110eb91878e0f2321799174f9fba72a847d04d40d7448f450af6d08dccaadc310d26d578f21139efc5180d1350
7 changes: 4 additions & 3 deletions maven/com/iproov/sdk/iproov-blazeface/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov-blazeface</artifactId>
<versioning>
<latest>7.1.0</latest>
<release>7.1.0</release>
<latest>7.2.0</latest>
<release>7.2.0</release>
<versions>
<version>6.0.0</version>
<version>6.1.0</version>
Expand All @@ -23,7 +23,8 @@
<version>7.0.2</version>
<version>7.0.3</version>
<version>7.1.0</version>
<version>7.2.0</version>
</versions>
<lastUpdated>20211118143424</lastUpdated>
<lastUpdated>20220223142546</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4472fdfda5c36a1c20e3cd9dce8b74c1
c4afe6eefd7f6d7c32f91d93463a39b3
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70b51b14b83c08e4a9655b86c98237221e7eb17f
5a3c85e8c6122f374b6e5e3e79f2e71f7352224b
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1d2079d86c3b6f9496d3e7188d3f7ec83d0ac839b2d62fdfee9f534a2226be57
b49b2619f05b330e2e93ac5164e275b2ae84f2881438c34d5501b81513b7366c
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b37482a463edfd047a07cc091a87af19c4f0fca6f0564e2cd811fff811e1e016d08a53d48cb481729da10f3dd01cd45d279748587e816d3c741314549f7be36b
6fa8b7a6f54e8ae290d3e9e115b3af64e794b5e9556435164b0f203841c270fe4f4cc51ce008555b21ccda9b3cccb479672299bb8a6365f3f5f8b7d045f385ac
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
30273f6d971b45b9e46988347b3bdc42
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
afdfd9ef9d7e1014f4652b0b616d0a71a46f76a6
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2d356645f0877ad56da4d175eaef246e80efac96026ca34e09762df901a28533
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e809317405feca79d2de4980d868e7ce5c16cda6339cc38a06d788cd018663c896b51073d56f1415a5452eefe592198a21e293aad3840bcc28f6d654c03c1933
30 changes: 30 additions & 0 deletions maven/com/iproov/sdk/iproov-mlkit/7.2.0/iproov-mlkit-7.2.0.pom
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov-mlkit</artifactId>
<version>7.2.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>androidx.appcompat</groupId>
<artifactId>appcompat</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>com.google.mlkit</groupId>
<artifactId>face-detection</artifactId>
<version>16.1.4</version>
</dependency>
<dependency>
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov</artifactId>
<version>7.2.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.10</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
91216b16a7ffbc588e95e99ce575888f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f7e375a20f04f5a2a73a2c7a7fc7f5387796eef1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
70a521c73706c4306063f342de300ea85c9e4907c5ca0235e30f3bbda7b30874
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c12aa2b41a11a2ed8f2e4ba330b1d9f5275f7ee76b39e29db884b22751f8449dcc6e482df7a664d98eb74b1f45b46e16f01f763c9e11b8c7b2bccb277e7cc038
7 changes: 4 additions & 3 deletions maven/com/iproov/sdk/iproov-mlkit/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov-mlkit</artifactId>
<versioning>
<latest>7.1.0</latest>
<release>7.1.0</release>
<latest>7.2.0</latest>
<release>7.2.0</release>
<versions>
<version>6.0.0</version>
<version>6.1.0</version>
Expand All @@ -23,7 +23,8 @@
<version>7.0.2</version>
<version>7.0.3</version>
<version>7.1.0</version>
<version>7.2.0</version>
</versions>
<lastUpdated>20211118143424</lastUpdated>
<lastUpdated>20220223142546</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion maven/com/iproov/sdk/iproov-mlkit/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82cc69fdffa6187e99889caf4d4cf02e
c6929db187d7943df618e2ca0f36152e
2 changes: 1 addition & 1 deletion maven/com/iproov/sdk/iproov-mlkit/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
133f567fcc3299abd0a9e96814ce4d96f0b5e3de
fdbecc26a2877476e2728dcd950561399eb9db46
Original file line number Diff line number Diff line change
@@ -1 +1 @@
765d3c14a35e566e951142577fa9b5b8033ae9f73fa73682472d2c68f3e36724
15812253692eae5cba4c4403232a9ace89dba7b06d452e9a6065650228a729ba
Original file line number Diff line number Diff line change
@@ -1 +1 @@
60231e6f991ff4b0fcfe9297cfd51fb62754944f08716a27fc3669790ff672f0a0aa4c65128eac32d4e904f52548f2ab48415a35d7f893c572aff6827f2ff4e4
0803860af7ef2d9d593ad0eeba669bc07bfd05fadbcd02e37cfaa96924cc7575d2d8293aec94e3cf78dff1aa037c0a28a5ac7fb275f7124e85428b0d3233040c
Binary file not shown.
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.aar.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2cffe442fe13e12df0729763e4f592eb
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.aar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3dc87d4c230bcff5c9e20ce2d548efc40e6f67ae
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.aar.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3922bd1a51b91ddb3ef302a16cfd1569b8f15b6bb21c43cbd509dada4eafe03f
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.aar.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d60a3407391a484fc407a09fc03851270546ce71ac5ecd0a6a57f2a56490583f7a9010ecff01f93c8ce28bb5b7e65c62aaca89302d4493bf1ec16088d7dcbac8
30 changes: 30 additions & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.pom
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov</artifactId>
<version>7.2.0</version>
<packaging>aar</packaging>
<dependencies>
<dependency>
<groupId>io.socket</groupId>
<artifactId>socket.io-client</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>androidx.appcompat</groupId>
<artifactId>appcompat</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>androidx.exifinterface</groupId>
<artifactId>exifinterface</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>1.6.10</version>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.pom.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f77784ba2e859c38b6aa1ebef08b0664
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.pom.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e0d582631b8fd1bd55722ff323095bd96d45c6dc
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.pom.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ce4ef736844496f19b1bc0e4ab881584bad2ca7dde3dd6d90c94d93ca3701721
1 change: 1 addition & 0 deletions maven/com/iproov/sdk/iproov/7.2.0/iproov-7.2.0.pom.sha512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3b8032a528eabdf33edd33438695c0050bf2a196452c0cfc906eb1cc3529cd62c7c208be6ad19abb5909cda924e6e0c80669e326365e9d8047fabf2335ca4c4e
7 changes: 4 additions & 3 deletions maven/com/iproov/sdk/iproov/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<groupId>com.iproov.sdk</groupId>
<artifactId>iproov</artifactId>
<versioning>
<latest>7.1.0</latest>
<release>7.1.0</release>
<latest>7.2.0</latest>
<release>7.2.0</release>
<versions>
<version>4.4.0</version>
<version>5.0.0-beta1</version>
Expand Down Expand Up @@ -36,7 +36,8 @@
<version>7.0.2</version>
<version>7.0.3</version>
<version>7.1.0</version>
<version>7.2.0</version>
</versions>
<lastUpdated>20211118143420</lastUpdated>
<lastUpdated>20220223142542</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion maven/com/iproov/sdk/iproov/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
987afed25bfd3bab97e0e90d865760ba
26b05c5a8762b780987e74e87c98779c
2 changes: 1 addition & 1 deletion maven/com/iproov/sdk/iproov/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9dd1e8fabd7407997ced01748a426b54b1beb37f
69aa138e58b0754143d634b021dd66c891f8d64b
2 changes: 1 addition & 1 deletion maven/com/iproov/sdk/iproov/maven-metadata.xml.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16df29c770443e68fd9daa9481f461e7802aa2976badc027c9e5ca8c23e7ec43
9822383c996ca7c3a1c96a104ef97d2fdfcf6d0ff428e0d601380ce2386fc4bb
Loading

0 comments on commit 44696cb

Please sign in to comment.