Are the detection steps mentioned happing on the actual device or is it happening server-side?
The actual OCR and data extraction likely occurs on the server side, but the document recognition on device is a much better user experience.
[1] USAA and Mitek were suing each other over the patents from 2012-2014.