Regula Document Reader SDK allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely offline on your device. No any data leaving your device.
The documentation can be found here.
The demo application can be found here: https://github.com/regulaforensics/DocumentReader-Cordova-Plugin.