Recognito
  • About RECOGNITO
  • Face Recognition SDK
    • Performance Overview
    • Integration Guide
      • Linux
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Windows
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Android
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • iOS
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Flutter
        • Installation
        • API Reference
        • Licensing
        • Sample Application
  • Face Liveness Detection SDK
    • Performance Overview
    • Integration Guide
      • Linux
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Windows
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Android
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • iOS
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Flutter
        • Installation
        • API Reference
        • Licensing
        • Sample Application
  • ID Document Recognition SDK
    • Performance Overview
    • Integration Guide
      • Linux
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • Android
        • Installation
        • API Reference
        • Licensing
        • Sample Application
      • iOS
        • Installation
        • API Reference
        • Licensing
        • Sample Application
  • ID Document Liveness Detection SDK
    • Performance Overview
    • Integration Guide
      • Linux
        • Installation
        • API Reference
        • Licensing
        • Sample Application
  • License Option
  • How to implement 1:N identification with RECOGNITO SDK
  • Contact & Support
Powered by GitBook
On this page
  • Download APK
  • Build Project
  • - Download and Open Project
  • - Setting Up SDK License Key
  • - Integration Guide
  • Application UI
  1. ID Document Recognition SDK
  2. Integration Guide
  3. Android

Sample Application

ID Document Recognition Android Demo

PreviousLicensingNextiOS

Last updated 5 months ago

Download APK


Build Project

- Download and Open Project

  • Download

  • Open the IDCardRecognition-Android project in Android Studio.

- Setting Up SDK License Key

  • Add license:

IDCardRecognition-Android\app\src\main\java\com\bio\idcardrecognition\MainActivity.kt
var ret = IDSDK.setActivation(
    "B3sUmGfASlu/p01TNEJxGHP/WTUk5NORuqgfggB25LQPYQBJzdw1lgiFfkE71/+8YhOKdU9wDVbY" +
    "pe/QHf/VbzO3Of7dME9gKjF2H3aNPHY90XNspz7iT1ntf5qd/STCbJVRJAorwBtPE7+BO3cHdVm8" +
    "CLFSclyUEI3/aiXLiT448B+KjvgEoX0CDswVOzpEVYmYphcUX+AbJQ135ostxmaZOMOhEtALEQYH" +
    "+SEIKrn/2+KOYsinZMOOvSWpeSnIrYj3z/AYHhKyR9doYEyCtc7qDwH9NPX3UC5WZc81ewc/K0JO" +
    "Lpe3a9tpGgFtLFEtVB4BwZdivnTf67BZZMMcAQ=="
)
  • Build Project.

- Integration Guide

  • Import ID SDK

import com.bio.idsdk.IDSDK
  • Activate and Initialize ID SDK

var ret = IDSDK.setActivation(
    "B3sUmGfASlu/p01TNEJxGHP/WTUk5NORuqgfggB25LQPYQBJzdw1lgiFfkE71/+8YhOKdU9wDVbY" +
    "pe/QHf/VbzO3Of7dME9gKjF2H3aNPHY90XNspz7iT1ntf5qd/STCbJVRJAorwBtPE7+BO3cHdVm8" +
    "CLFSclyUEI3/aiXLiT448B+KjvgEoX0CDswVOzpEVYmYphcUX+AbJQ135ostxmaZOMOhEtALEQYH" +
    "+SEIKrn/2+KOYsinZMOOvSWpeSnIrYj3z/AYHhKyR9doYEyCtc7qDwH9NPX3UC5WZc81ewc/K0JO" +
    "Lpe3a9tpGgFtLFEtVB4BwZdivnTf67BZZMMcAQ=="
)
if(ret == IDSDK.SDK_SUCCESS) {
    ret = IDSDK.init(this)
}
  • YUV to Bitmap for camera frame

override fun process(frame: Frame) {
    val bitmap = IDSDK.yuv2Bitmap(frame.image, frame.size.width, frame.size.height, 6)
    ...
  • Extract Data

val result = IDSDK.idcardRecognition(bitmap)

Application UI

IDCardRecognition-Android.zip[103M]
4MB
id_recognition.mp4
Cover

Recognito_IDOCR_Demo.apk