GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — DocumentReader-web-java-client/example at develop · regulaforensics/DocumentReader-web-java-client

Expand file tree

/

example

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

example

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main
src/main
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 

README.md

Outline

Regula Document Reader java client compatible with jvm and android

💡 Before you start: if you just want to play with an online demo, visit our playground.

⚠️ NOTE: If a custom Document Reader endpoint is not specified, demo web API will be used by default. By sending requests to demo Regula Document Reader web API, you agree with our Privacy Policy and License Agreement.

Requirements:

  • installed java 11+

Java version verification:

java --version  
>  openjdk 14.0.1 2020-04-14

Example of cloning:

git clone https://github.com/regulaforensics/DocumentReader-web-java-client.git
cd DocumentReader-web-java-client

Running the client with demo Regula Document Reader web API

⚠️ NOTE: for some systems, the gradlew.bat command should be used instead of ./gradlew.

Example of execution:

./gradlew :example:run

Running the client with local Regula Document Reader web API installation

⚠️ NOTE: for some systems, the gradlew.bat command should be used instead of ./gradlew.

Get your free trial here. When you receive the regula.license file, copy it to the example resources folder. Now you are ready for start!

Follow the instructions to run Regula Document Reader web API. If the instance has been launched successfully, use the following line command to run the example:

API_BASE_PATH="http://127.0.0.1:8080" ./gradlew :example:run

Output

This sample generates the following text output:

-----------------------------------------------------------------
Web API version: 7.5.308602.1848
-----------------------------------------------------------------
-----------------------------------------------------------------
Document Type: Germany - ePassport (2017) Service
Document Overall Status: not valid
Document Number Visual: C01YPTNHM
Document Number MRZ: C01YPTNHM
Validity Of Document Number Visual: 2
Validity Of Document Number MRZ: 1
MRZ-Visual values comparison: 1
-----------------------------------------------------------------
Field:  Surname Value:  MUSTERMANN Source: VISUAL
Field:  Surname And Given Names Value:  MUSTERMANN ERIKA Source: VISUAL

...

Also, it stores portrait and document image images in the current folder. You can modify this example and re-run it to get your own results.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.