Blog

Why we scan passports on the phone and not in the cloud

· 3 min read

A passport photo is about the most sensitive picture a guest will ever hand you. It shows a face, a full name, a date and place of birth, and a document number. In the wrong hands that combination causes real trouble. When we started building ScanPass we had to decide where that picture gets read. We chose the phone, and this is the reasoning.

Two ways to read a passport

In the cloud model the app uploads the photo to a server. A recognition service, often one rented from a third company, reads the text and sends the fields back. The app is thin and the server does the work.

In the on-device model the phone does the reading. Recent iPhones ship with text recognition built into the system, and it is good enough to read a passport data page, including the two machine lines at the bottom.

Both produce the same row in your list. They differ in where the photo travels on the way.

What uploading costs you

More copies in more places. An uploaded photo exists on the phone, in transit, on the server, and possibly in that server's logs and backups. Each of those is somewhere it can leak from, and you control only the first.

Someone else's promises. How long is the image kept? Who can open it? Is it used to train a model? You depend on the answers of a company you have never met, and on those answers staying the same.

A bill per scan. Recognition services charge per page or per token. That is small for one passport and adds up over a season of full boats. It also means the app's price has to cover the meter.

A dead app at a dead dock. Marinas and anchorages are not known for their signal. An app that needs a round trip to a server stops working exactly where you board guests.

What staying on the phone costs you

On-device recognition has real limits, and you should know them.

The phone runs a general text reader that was not trained on passports from every country. It reads the machine lines reliably. The printed fields above them, such as place of birth and issue date, are harder, because every country lays them out differently. We spend a lot of our development time on exactly those fields, and we still show every scan for review before it goes into a list.

Your data also lives in one place. If the phone is lost and you have no backup, the lists are lost with it. ScanPass can export a backup file, and that file is yours to store safely. It is not encrypted by the app, so treat it like the documents it describes.

What ScanPass sends, to be exact

Passport photos and passport details are processed on the iPhone and are not sent to us or to an outside recognition service. There is no account to create.

There is one thing the app can send: an anonymous error report when a scan fails, so that we can fix the cause. It contains technical details about the failure and never the photo, the names or the document number. It is a switch in Settings, and you can turn it off.

A list leaves the phone when you export or share it. From that moment it follows the rules of whatever you sent it through, whether that is email or a messaging app.

The privacy policy has the full description.

A question to ask any scanning app

Before you point an app at a guest's passport, find out where the photo goes. If the answer is a server, ask how long it stays there and who else can see it. If the vendor cannot tell you, choose a different app.