Deepfakes and AI selfies in ID photo uploads: how authorities secure the process
Deepfakes, morphing and AI selfies cannot be stopped by a single check during photo upload. What works is a chain: a personal, single-use invitation, live capture with a smartphone wherever possible instead of a file upload, automated checks for manipulation and AI generation, verification against the right person, human spot checks and secure transfer with no editing afterwards.
Why is photo upload a gateway for manipulated images?
When you receive photos digitally, you receive a file whose origin you have not seen. In the past, applicants would bring a paper photo to the counter. Today the image arrives at the office via a form or a link. This saves time and trips but changes the question: it is no longer just about whether a photo is good enough, but also whether it is genuine and shows the right person.
Three types of manipulation matter to authorities. Morphing blends two faces into one, so that one ID document could be used by two people. Image generators create deepfakes and AI selfies that look like a normal phone picture. And then there is everyday editing in apps, such as beauty filters or AI retouching, which is usually done without bad intent but still changes the face.
For documents such as driver's licenses, identity cards and visas, the photo is the basis of identity. A manipulated photo makes it into the document and serves as the reference for years. There is no reason to panic, as most uploads are genuine. But an authority should know where in the process it catches the exceptions.
What do the e-ID delay and Germany's photo procedure have to do with this?
On June 30, 2026, the Swiss federal government revised the timetable for introducing the e-ID. One reason is the development of artificial intelligence: deepfake detection is to be strengthened before the e-ID is introduced. There is no new date yet (as of December 1, 2026). Separately, the trust infrastructure is expected to go live in the first half of 2027 (Federal Council, 30.06.2026).
Germany is one step ahead. Since May 1, 2025, German authorities only accept photos for passports, identity cards and residence permits in digital form, sent from the service provider to the authority via a secure channel. The stated reason is protection against morphing (BSI TR-03170). Section 2 of the German Passport Ordinance requires the state of the art for capture, quality assurance and transmission; anyone who follows the BSI guidelines is presumed to meet this requirement (PassV § 2).
Both developments point in the same direction: authorities are moving trust from the paper photo to secure digital processes. How Swiss offices already do this for driver's licenses and ID documents is explained in Digital passport photos for driver's licenses and ID cards.
How do morphing, deepfakes and AI selfies differ?
Morphing is the digital blending of two or more faces into one image that looks similar enough to each person to be recognized as them (definition based on BSI). A deepfake is an image created or altered with AI that depicts a real person deceptively realistically. An AI selfie is a portrait generated entirely by an image generator that looks like a phone snapshot. Image trust means certainty that a photo shows the right person and has not been manipulated, morphed or AI-generated.
| Type | How it is created | Risk for the authority | Where it gets caught |
|---|---|---|---|
| Morphing | How it is created Two or more faces are digitally blended into one image | Risk for the authority One document that several people can use | Where it gets caught Automated morphing check, comparison with a previous photo or the person at the counter |
| Deepfake | How it is created AI alters a genuine photo of a person | Risk for the authority Photo differs from the real person, identity is disguised | Where it gets caught Automated manipulation check, verification against the right person |
| AI selfie | How it is created An image generator creates a complete portrait | Risk for the authority Photo may not be a real capture at all | Where it gets caught Live capture instead of a file, automated check for AI generation |
| App editing | How it is created Filters, skin smoothing, AI retouching on the phone | Risk for the authority Face no longer matches the person, photo unusable for biometrics | Where it gets caught Quality check to ICAO/ISO, live capture |
Whether and how AI-edited photos are legally permissible is covered separately in AI image enhancements: what is allowed?.
At which points in the process can manipulated photos be caught?
No single measure is enough. Protection only works when several checks are chained one after another. The checklist below follows a photo from the invitation to its deletion and shows who is responsible at each step.
| Step | Control | Who |
|---|---|---|
| 1 Invitation | Control Personal, single-use link per application; limited validity; no open upload form | Who Authority / case management system |
| 2 Capture | Control Prefer live capture with the camera; allow gallery upload only where necessary, then check more strictly | Who Process owner |
| 3 Automated check | Control ICAO/ISO quality plus image trust: right person, not manipulated, not morphed, not AI-generated | Who System |
| 4 Manual review | Control Let people decide borderline cases and warnings; define spot checks | Who Case officers |
| 5 Verification | Control For renewals, compare with the previous photo or the person at the counter | Who Case officers |
| 6 Transfer | Control Secure transfer to the case management system (sFTP, REST API), no editing after the check | Who IT |
| 7 Storage and deletion | Control Data stored in Switzerland, deletion after completion, access log | Who Data protection / IT |
| 8 Contingency plan | Control What happens on suspicion: follow-up query, counter appointment, documentation | Who Office management |
Two points deserve special attention. The first is capture: a photo taken live with a smartphone camera has a traceable origin. A file from the gallery, by contrast, can come from anywhere, even from an image generator. The second is transfer: after the check, no one may change the image, otherwise the check is worthless.
What can automated checks do, and what can't they?
Automated checks are fast and consistent. In seconds they check whether a photo meets the technical requirements and can flag signs of manipulation, morphing or AI generation. They never get tired and look at the thousandth photo as strictly as the first.
To be honest, no check catches everything. Generators keep improving, and new techniques appear faster than any software can keep up. That is why the goal is not perfect detection but a chain: automation for volume, people for borderline cases and a process that makes manipulation harder from the start. When comparing vendors, ISO/IEC 20059:2025 provides a methodology for assessing how resistant biometric systems are to morphing attacks (ISO).
Read more about quality checks in general in Quality control meets AI, and about biometric requirements in Biometric photos to ICAO standards.
What should authorities look for in a vendor?
Anyone selecting a solution for digital photo upload should ask at least these five questions:
- Is live capture with the camera possible, rather than only a file from the gallery?
- Does the system check for manipulation, morphing and AI generation, not just image quality?
- Does the vendor avoid generative post-processing, so the face stays unchanged?
- Where are the photos hosted, and when are they deleted?
- Is there a clear procedure and a log for borderline cases?
Further criteria for a tender are listed in Photo platform tender: criteria, and concrete workflows on the citizen portals page.
How Photo Collect checks image trust
Photo Collect checks whether the photo shows the right person and has not been manipulated, morphed or AI-generated. On top of that come more than 35 automated checks to ICAO 9303 and ISO/IEC 19794-5. Photo Collect uses its own models and no generative AI; faces are never altered. Capture runs through a smartphone link with no app and no login, hosted in an ISO 27001 certified data center in Switzerland.
See how this works in practice in the use cases driver's licenses and visas and travel documents. How the platform is built as a sovereign AI solution is explained in Sovereign AI solution for employee photos.
Frequently asked questions
Can an authority spot a deepfake on an ID photo with the naked eye? Usually not reliably. High-quality morphs and deepfakes can barely be told apart from real photos by humans, especially at high volumes. That is why it takes a chain of secure capture, automated checks and human review of borderline cases.
Is a gallery upload riskier than a live capture? Yes. With a file from the gallery, you cannot tell where it came from, whether it has been edited or whether it was made by an image generator. A live capture with the camera, by contrast, is taken at the time of application and leaves much less room for manipulation.
What is face morphing, and why is it dangerous for ID documents? Face morphing is the merging of the faces of two or more people into one image. If such a photo ends up in an ID document, several people could use the same document, for example at a border control.
Which standard helps assess vendors for morphing resistance? ISO/IEC 20059:2025, published in August 2025. It describes a methodology for assessing how resistant biometric systems are to morphing attacks.