Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/veryfi/veryfi-lens-w2-ios-demo

Example codes about how to use Veryfi Lens SDKs
https://github.com/veryfi/veryfi-lens-w2-ios-demo

ios ios-app ios-swift mobile ocr receipt-reader receipt-scanner receipt-scanning sdk swift

Last synced: about 1 month ago
JSON representation

Example codes about how to use Veryfi Lens SDKs

Awesome Lists containing this project

README

        


![Swift 5](https://img.shields.io/badge/Swift-5-orange.svg?style=flat)
![iOS 15.2](https://img.shields.io/badge/iOS-15.2-blue.svg?style=flat)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/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/

You can watch our video:
[![Veryfi Lens](https://img.youtube.com/vi/P84RDJimEtA/maxresdefault.jpg)](http://www.youtube.com/watch?v=P84RDJimEtA "Veryfi Lens Integration in Swift")

## Table of content
1. [Veryfi Lens iOS Examples](#examples)
2. [How to add Veryfi Lens to your project](#cocoapods)
3. [How to run this project](#configuration)
4. [Other platforms](#other_platforms)
5. [Get in contact with our team](#contact)

## Veryfi Lens W-2 iOS Example
This is an example of how to use Veryfi Lens W-2 in your app, you can find the developer documentation [here](https://app.veryfi.com/lens/docs/ios/).

![W2](https://github.com/veryfi/veryfi-lens-w2-ios-demo/assets/2013102/91ab373d-225c-48e6-92a2-27b0bc258c01)

## How to add Veryfi Lens W-2 to your project

Install from our private [Cocoapods](https://hub.veryfi.com/api/settings/keys).

Add in your project Podfile file the Veryfi Lens W-2 iOS SDK dependency:
```ruby
pod 'VeryfiLens-W2', '2.1.58.10'
```

## How to run this project
### Optional: Git credentials tool
If you want to avoid typing the credentials you set in the previous step everytime you run pod install run `git credential approve` and type in a single entry the following information:

```
protocol=https
host=repo.veryfi.com
path=shared/lens/veryfi-lens-podspec.git
username=YOUR_USERNAME
password=YOUR_PASSWORD

```

- Clone this repository
- Run `pod install --repo-update` to install VeryfiLens and its dependencies
- Open the workspace within the project in Xcode
- Replace credentials in `ViewController` with yours
```
let CLIENT_ID = "XXX" // replace XXX with your assigned Client Id
let AUTH_USERNAME = "XXX" // replace XXX with your assigned Username
let AUTH_APIKEY = "XXX" // replace XXX with your assigned API Key
let URL = "XXX" // replace XXX with your assigned Endpoint URL
```
- Run the project

## Other Lens iOS Examples
You can find some example projects, which are the different versions of Lens that we currently offer:
- [Lens for Long Receipts](https://github.com/veryfi/veryfi-lens-long-receipts-ios-demo)
- [Lens for Receipts](https://github.com/veryfi/veryfi-lens-receipts-ios-demo)
- [Lens for Credit Cards](https://github.com/veryfi/veryfi-lens-credit-cards-ios-demo)
- [Lens for Business Cards](https://github.com/veryfi/veryfi-lens-business-cards-ios-demo)
- [Lens for Checks](https://github.com/veryfi/veryfi-lens-checks-ios-demo)
- [Lens for W-2](https://github.com/veryfi/veryfi-lens-w2-ios-demo)
- [Lens for W-9](https://github.com/veryfi/veryfi-lens-w9-ios-demo)

## Other platforms
You can find these examples for Lens Android
- [Long Receipts](https://github.com/veryfi/veryfi-lens-long-receipts-android-demo)
- [Receipts](https://github.com/veryfi/veryfi-lens-receipts-android-demo)
- [Credit Cards](https://github.com/veryfi/veryfi-lens-credit-cards-android-demo)
- [Business Cards](https://github.com/veryfi/veryfi-lens-business-cards-android-demo)
- [Checks](https://github.com/veryfi/veryfi-lens-checks-android-demo)
- [W-2](https://github.com/veryfi/veryfi-lens-w2-android-demo)
- [W-9](https://github.com/veryfi/veryfi-lens-w9-android-demo)

We also support the following wrappers for hybrid frameworks:
- [Cordova](https://hub.veryfi.com/lens/docs/cordova/)
- [React Native](https://hub.veryfi.com/lens/docs/react-native/)
- [Flutter](https://hub.veryfi.com/lens/docs/flutter/)
- [Xamarin](https://hub.veryfi.com/lens/docs/xamarin/)

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 [email protected] to learn more about Veryfi's awesome products.