- Download face(
idlive-face-capture-web-*.tar) and document(idlive-document-capture-web-*.tar) web libraries from the eKYC Extra Files page, unzip them. Inside, you will find three library versions: prod, dev, and CSP. FOR PRODUCTION USE, ONLY USE THE PROD VERSION. - Unzip and place the desired version in the root of the project, using the folder names:
idlive-face-capture-webandidlive-document-capture-web. - In the
config.jsfile, add values to the following variables:API_KEY: Add your API key, which can be obtained from the eKYC Cloud page.DOCUMENT_LICENSE: Add your document detector license, which you can find in theidlive-document-detector-eval-license-yyyy-mm-dd.zipfile downloaded from the eKYC Extra Files page.FACE_LICENSE: Add your face detector license, which you can find in theidlive-face-detector-eval-license-yyyy-mm-dd.zipfile downloaded from the eKYC Extra Files page.
Now you can run the example. If you are using WebStorm or IntelliJ IDEA, simply open the index.html file in Google Chrome.
Alternatively, you can start the example using Docker:
- Run the
start.shscript. - The example will be available at http://localhost:8080.