sdk-face
Prove it's you: before a protected credential (for example a national ID card) is shared, the holder looks into the front camera, blinks or smiles, and the face is matched with the credential's own photo. The face match with the ID photo occurs only on the device.
Getting started in Android Studio
Add
implementation("com.wallet.sdk:sdk-face:<version>")and click Sync Now.Copy
models/facenet_512.tflitefrom the SDK zip intoapp/src/main/assets/.Turn it on where you create the SDK:
val model = FaceModel.fromBytes(assets.open(FaceModel.FILE_NAME).use { it.readBytes() })
val sdk = Wallet.createWallet(
issuer, trustedVerifiers, credentialTypes,
shareGuard = FaceShareGuard(FaceCheckPolicy(docTypes = setOf("org.iso.23220.photoid.1")), model),
)Content copied to clipboard
Guide: /wallet/prove-its-you/.