Skip to content

Installation

How to install Document Reader SDK.

Requirements

The following tools should be installed:

The minimum API Level is 16 for the following Core types:

  • barcode
  • barcodemrz
  • bounds
  • doctype
  • full
  • mrz
  • ocrandmrz

The minimum API Level is 19 for the following Core types:

  • mrzrfid
  • barcodemrzrfid
  • ocrandmrzrfid
  • fullrfid

Installation

Document Reader libraries are available in our Maven repository. Add the following lines to the build.gradle to the repositories {} section:

maven {
    url "http://maven.regulaforensics.com/RegulaDocumentReader"
}

Then add the API library as a dependency and make sure transitive is set to true, simply adding the following lines of code to the build.gradle file of your project:

implementation ('com.regula.documentreader:api:+@aar'){
    transitive = true
}

And add one of the Core libraries depending on the functionality that you need and the license capabilities:

  • Install barcode library edition:
implementation 'com.regula.documentreader.core:barcode:+@aar'
  • Install barcodemrz library edition:
implementation 'com.regula.documentreader.core:barcodemrz:+@aar'
  • Install barcodemrzrfid library edition:
implementation 'com.regula.documentreader.core:barcodemrzrfid:+@aar'
  • Install bounds library edition:
implementation 'com.regula.documentreader.core:bounds:+@aar'
  • Install doctype library edition:
implementation 'com.regula.documentreader.core:doctype:+@aar'
  • Install full library edition:
implementation 'com.regula.documentreader.core:full:+@aar'
  • Install fullrfid library edition:
implementation 'com.regula.documentreader.core:fullrfid:+@aar'
  • Install mrz library edition:
implementation 'com.regula.documentreader.core:mrz:+@aar'
  • Install mrzrfid library edition:
implementation 'com.regula.documentreader.core:mrzrfid:+@aar'
  • Install ocrandmrz library edition:
implementation 'com.regula.documentreader.core:ocrandmrz:+@aar'
  • Install ocrandmrzrfid library edition:
implementation 'com.regula.documentreader.core:ocrandmrzrfid:+@aar'
Back to top