Skip to content

veryfi/veryfi-lens-net-demo

Repository files navigation

License: MIT

Veryfi Lens for .NET

  

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/

You can watch our video: Veryfi Lens

Table of content

  1. Veryfi Lens .NET 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 Receipts & Invoices .NET Example

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

receipt-demo

How to add Veryfi Lens Receipts to your project

How to run this project

Running iOS project:

Add Veryfi Nuget repo configuration to Visual Studio(right-click on Packages and then Manage NuGet Packages).

Screen Shot 2022-02-11 at 12 02 30 PM Screen Shot 2022-02-09 at 3 06 20 PM

Click on package source

Screen Shot 2022-02-09 at 3 06 37 PM

Now select Configure Sources…

Screen Shot 2022-02-09 at 3 06 44 PM

Click add source

Screen Shot 2022-02-09 at 3 06 55 PM

Set up the Veryfi Nuget repo URL and your username and password (the same that were created in the Hub in the Xamarin section)

Screen Shot 2022-02-09 at 3 33 06 PM

Now click Add Source and now you have the Veryfi Nuget source on packages marketplace and the VeryfiLensiOSNetBinding plugin, add this package to your project.

Set up your project to use Lens SDK:

Add this to your Info.plist file:

<key>NSCameraUsageDescription</key>
<string>Scan Documents</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Access Photo Gallery for Document Backups</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Access Photo Gallery for Document Uploads</string>

Update your Entitlements.plist changing the menu in the top right section to Entitlements Make sure that Keychaing Sharing switch is on

Set your credentials in ViewController.cs and you should be ready to run the project

const string CLIENT_ID = "XXXXX";
const string AUTH_USRNE = "XXXXX";
const string AUTH_API_K = "XXXXX";
const string API_URL = "XXXXX";

Lens iOS Examples

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

Lens Android Examples

You can find these examples for Lens Android

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.