How to Add Photo ID Capture and Face Matching to Your Web or Mobile Application
This guide describes the steps needed to add face matching to your liveness check.
By this time you should have already implemented liveness video recording and liveness check. If not, please refer to these guides:
How to Integrate Oz Liveness into Your Web Application
How to Integrate Oz Liveness into Your Mobile Application

Adding photo ID capture step to Web SDK
Simply add photo_id_front to the list of actions for the plugin, e.g.,
Adding face matching to Android SDK
For the purpose of this guide, it is assumed that your reference photo (e.g., front side of an ID) is stored on the device as reference.jpg.
Modify the code that runs the analysis as follows:
Check also the Android sample app source code.
Adding face matching to iOS SDK
For the purpose of this guide, it is assumed that your reference photo (e.g., front side of an ID) is stored on the device as reference.jpg.
Modify the code that runs the analysis as follows:
Check also the iOS sample app source code.
Final notes for all SDKs
You will be able to access your media and analysis results in Web UI via browser or programmatically via API.
Oz API methods as well as Mobile and Web SDK methods can be combined with great flexibility. Explore the options available in the Developer Guide section.
Last updated
Was this helpful?
