Scan a passport

Point the camera at the photo page of the passport. The two lines of code at the bottom are read on this phone, and the photo is taken once they read cleanly. This is the demo: nothing leaves the phone.

Hold the passport flat, about 20 cm from the camera, in good light.