[Paper Review] Towards an Efficient Semantic Segmentation Method of ID Cards for Verification Systems
This paper proposes a lightweight semantic segmentation method using MobileUNet to accurately isolate ID cards from cluttered backgrounds in real-world images, achieving a mean Intersection over Union (IoU) of 0.9926 on Chilean ID Cards and 0.9911 on a multi-country dataset. The approach is optimized for real-time deployment on mobile devices, significantly improving downstream tasks in identity verification and tamper detection systems.
Removing the background in ID Card images is a real challenge for remote verification systems because many of the re-digitalised images present cluttered backgrounds, poor illumination conditions, distortion and occlusions. The background in ID Card images confuses the classifiers and the text extraction. Due to the lack of available images for research, this field represents an open problem in computer vision today. This work proposes a method for removing the background using semantic segmentation of ID Cards. In the end, images captured in the wild from the real operation, using a manually labelled dataset consisting of 45,007 images, with five types of ID Cards from three countries (Chile, Argentina and Mexico), including typical presentation attack scenarios, were used. This method can help to improve the following stages in a regular identity verification or document tampering detection system. Two Deep Learning approaches were explored, based on MobileUNet and DenseNet10. The best results were obtained using MobileUNet, with 6.5 million parameters. A Chilean ID Card's mean Intersection Over Union (IoU) was 0.9926 on a private test dataset of 4,988 images. The best results for the fused multi-country dataset of ID Card images from Chile, Argentina and Mexico reached an IoU of 0.9911. The proposed methods are lightweight enough to be used in real-time operation on mobile devices.
Motivation & Objective
- To address the challenge of background interference in ID card images captured in unconstrained environments, such as poor lighting, occlusions, and cluttered backgrounds.
- To develop a robust semantic segmentation method that isolates ID card regions from complex backgrounds to enhance subsequent stages in identity verification pipelines.
- To overcome the lack of publicly available, large-scale datasets for ID card segmentation by creating and utilizing a manually annotated dataset of 45,007 images from Chile, Argentina, and Mexico.
- To evaluate and compare deep learning architectures—MobileUNet and DenseNet10—for efficient, real-time semantic segmentation on mobile platforms.
- To improve the reliability of remote identity verification and document forgery detection by enabling accurate, automated ID card region extraction.
Proposed method
- A semantic segmentation framework is proposed to classify each pixel in an ID card image as either foreground (ID card) or background, using deep learning models.
- The method employs a custom dataset of 45,007 manually annotated ID card images from three countries (Chile, Argentina, Mexico), including real and presentation attack scenarios.
- Two deep learning architectures are evaluated: MobileUNet with 6.5 million parameters and a lightweight DenseNet10 variant with 210,732 parameters.
- Model training is performed using cross-entropy loss and data augmentation techniques to improve robustness to illumination, distortion, and occlusions.
- Inference is optimized for mobile deployment, with input resolution set to 448×448 pixels for best performance and speed.
- Performance is evaluated using mean Intersection over Union (IoU), with standard deviation and inference time measured on a private test set of 8,966 images.
Experimental results
Research questions
- RQ1Can a lightweight semantic segmentation model effectively isolate ID cards from complex, real-world backgrounds in remote verification systems?
- RQ2How does the performance of MobileUNet compare to DenseNet10 in segmenting diverse ID card layouts across multiple countries?
- RQ3To what extent does ICAO compliance of ID card design affect segmentation accuracy and model generalization?
- RQ4Can the proposed method achieve real-time inference on mobile devices while maintaining high segmentation accuracy?
- RQ5How does the model perform on presentation attack scenarios, such as composite or forged ID cards?
Key findings
- The MobileUNet model achieved the highest mean IoU of 0.9926 on the Chilean ID card subset, demonstrating superior performance on ICAO-compliant, high-quality ID cards.
- On the fused multi-country dataset (Chile, Argentina, Mexico), MobileUNet achieved a mean IoU of 0.9911, indicating strong generalization across diverse layouts and image qualities.
- The inference time for MobileUNet was 0.023 seconds on 448×448 input images, confirming its suitability for real-time mobile deployment.
- The HOG/SVM baseline method achieved only 0.8671 mean IoU on Chilean images, showing a 12.5% performance gap compared to the best deep learning model.
- Despite lower image quality and inconsistent layouts, the model maintained high performance on Argentinean and Mexican ID cards, with mean IoUs of 0.9891 and 0.9862 respectively.
- The model demonstrated robustness to presentation attacks, as evidenced by high segmentation accuracy even on composite ID card images with artificial borders.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.