Skip to content

veryfi/veryfi-lens-headless-receipts-android-demo

Repository files navigation

License: MIT

Veryfi Lens

  

Veryfi Lens is code (a framework) with UI for your mobile app to give it document capture superpowers in minutes.

Let Veryfi handle the complexities of frame processing, asset preprocessing, edge routing, and machine vision challenges in document capture. We have been at this for a long time and understand the intricate nature of mobile capture. That’s why we built Lens. Veryfi Lens is built by developers for developers; making the whole process of integrating Lens into your app fast and easy with as few lines as possible.

Veryfi Lens is a Framework: a self-contained, reusable chunks of code and resources you can import into you app.

Lens is built in native code and optimized for fast performance, clean user experience and low memory usage.

You can read further about Lens in Veryfi's dedicated page: https://www.veryfi.com/lens/

Table of content

  1. Veryfi Lens Android Examples
  2. How to add Veryfi Lens to your project
  3. How to run this project
  4. Other platforms
  5. Get in contact with our team

Veryfi Lens Headless Receipts Android Example

This is an example of how to use Veryfi Lens Headless Receipts in your app, you can find the developer documentation here.

LensReceiptsDemo

How to add Veryfi Lens Headless Receipts to your project

Install from our private Maven, a package manager for Java.

Add in your project build.gradle file the Veryfi Lens Headless Receipts Android SDK dependency:

dependencies {
    implementation 'com.veryfi.lens.headless:receipts-sdk:2.0.0.1'
}

How to run this project

  • Clone this repository
  • Open the demo with Android Studio
  • Add your Veryfi Artifactory credentials to settings.gradle
  • Replace credentials in Application.kt with yours
const val CLIENT_ID = "XXX" // replace XXX with your assigned Client Id
const val AUTH_USERNAME = "XXX" // replace XXX with your assigned Username
const val AUTH_APIKEY = "XXX" // replace XXX with your assigned API Keyx
const val URL = "XXX" // replace XXX with your assigned Endpoint URL
  • Run the project

Other Lens Android Examples

You can find some example projects, which are the different versions of Lens that we currently offer:

Other platforms

You can find these examples for Lens iOS

We also support the following wrappers for hybrid frameworks:

If you don't have access to our Hub, please contact our sales team, you can find the contact bellow.

Get in contact with our sales team

Contact sales@veryfi.com to learn more about Veryfi's awesome products.