OIDIQ: Open identity document image quality
This paper introduces OIDIQ, an open framework designed to assess the quality of front-facing identity document images by detecting and normalizing documents, masking occlusions, and reporting 14 independent quality measures across three categories to address limitations in existing generic and face-oriented assessment methods.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the modern world, banks, insurance companies, and government agencies increasingly ask people to prove who they are without ever meeting them in person. A customer simply holds their identity card up to a smartphone camera, and a computer system reads the text, checks the photograph against a selfie, and verifies that the document is genuine. This entire process hinges on a single, fragile condition: the quality of the picture. If the light reflects off the plastic surface, if a finger blocks part of the text, or if the image is too blurry to read the small print, the system cannot do its job. For decades, scientists have developed ways to judge the quality of human faces in photos, but identity documents are different objects with different problems. They have sharp corners, specific layouts, and security features that standard photo-checking tools often miss.
Researchers at Hochschule Darmstadt in Germany have addressed this gap by creating a new, open system called OIDIQ, designed specifically to evaluate the quality of identity document images. Unlike previous tools that might give a single, vague grade to a photo, this system acts like a detailed inspector, breaking the image down into fourteen separate checks. It looks for common capture errors like glare, shadows, and blur, but it also examines the document itself, checking if it is framed correctly, if it is the only card in the shot, and if the corners are visible. The system does not just say an image is bad; it explains exactly why, assigning a score from zero to one hundred for each specific issue, allowing the user to know whether to retake the photo to fix a shadow or simply to move the card closer to the lens.
To build this system, the team first had to teach the computer how to find the document in a messy, real-world photo. They trained a model using thousands of images, including synthetic examples and real captures, to recognize the four corners of an identity card even when it was tilted, partially hidden, or surrounded by other objects. This step is crucial because the computer needs to know exactly where the document is before it can judge its quality. The researchers found that their new corner detector was highly reliable, able to spot unseen types of documents it had never seen before, and it could even tell the user if it was unsure about the location of a corner. Once the document is found, the system crops it out and straightens it, creating a clean, top-down view that is the same size for every card, regardless of how it was originally held.
With the image prepared, the system moves on to its main task: measuring specific defects. It checks for glare and shadows, which can hide important text or the portrait. The researchers trained their model using synthetic images where they artificially added these lighting problems, and then tested it on real photos taken with phones. They discovered that their model could spot these issues as accurately as much larger, slower systems, but it did so in a fraction of the time. It also measures how much the image has been compressed, which happens when a photo is sent over a network, and checks if the text is sharp enough to be read by a machine. In tests, their new sharpness measure proved much better at predicting whether a computer could actually read the text than older methods designed for human faces.
The system also evaluates the physical placement of the card. It measures if the card is too small in the frame, if it is cut off by the edge of the photo, or if there are multiple cards visible, which would confuse the system. For every single one of these fourteen checks, the system calculates a raw number and then converts it into a score between zero and one hundred. A score of one hundred means the image is perfect for that specific check, while a low score highlights a problem. For example, if the glare score is low, the user knows to move the card away from a light source. If the framing score is low, they know to step back. The researchers made sure to test these scores against real tasks, such as how well a machine could read the text, to ensure the numbers actually reflected the usability of the image.
The team was careful to note that this system is designed for the front of identity documents that have a portrait on them. It does not yet handle the back of cards or situations where someone is trying to trick the system with a fake document, as those require different kinds of analysis. Furthermore, the specific numbers used to decide what is a "good" or "bad" score can be adjusted by the organizations using the tool, depending on how strict they need to be. The researchers have made the code and the models available to the public, so that anyone building a remote identity verification system can use this detailed, transparent way of checking image quality. By separating the problems and giving a clear score for each, OIDIQ turns a frustrating, all-or-nothing rejection into a helpful guide for getting the right picture.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.