Saved in:
Bibliographic Details
Main Authors: Patel, Hitesh Laxmichand, Agarwal, Amit, Kumar, Bhargava, Gupta, Karan, Pattnayak, Priyaranjan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.14962
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915077973606400
author Patel, Hitesh Laxmichand
Agarwal, Amit
Kumar, Bhargava
Gupta, Karan
Pattnayak, Priyaranjan
author_facet Patel, Hitesh Laxmichand
Agarwal, Amit
Kumar, Bhargava
Gupta, Karan
Pattnayak, Priyaranjan
contents Accurate barcode detection and decoding in Identity documents is crucial for applications like security, healthcare, and education, where reliable data extraction and verification are essential. However, building robust detection models is challenging due to the lack of diverse, realistic datasets an issue often tied to privacy concerns and the wide variety of document formats. Traditional tools like Faker rely on predefined templates, making them less effective for capturing the complexity of real-world identity documents. In this paper, we introduce a new approach to synthetic data generation that uses LLMs to create contextually rich and realistic data without relying on predefined field. Using the vast knowledge LLMs have about different documents and content, our method creates data that reflects the variety found in real identity documents. This data is then encoded into barcode and overlayed on templates for documents such as Driver's licenses, Insurance cards, Student IDs. Our approach simplifies the process of dataset creation, eliminating the need for extensive domain knowledge or predefined fields. Compared to traditional methods like Faker, data generated by LLM demonstrates greater diversity and contextual relevance, leading to improved performance in barcode detection models. This scalable, privacy-first solution is a big step forward in advancing machine learning for automated document processing and identity verification.
format Preprint
id arxiv_https___arxiv_org_abs_2411_14962
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLM for Barcodes: Generating Diverse Synthetic Data for Identity Documents
Patel, Hitesh Laxmichand
Agarwal, Amit
Kumar, Bhargava
Gupta, Karan
Pattnayak, Priyaranjan
Computation and Language
Artificial Intelligence
Cryptography and Security
Accurate barcode detection and decoding in Identity documents is crucial for applications like security, healthcare, and education, where reliable data extraction and verification are essential. However, building robust detection models is challenging due to the lack of diverse, realistic datasets an issue often tied to privacy concerns and the wide variety of document formats. Traditional tools like Faker rely on predefined templates, making them less effective for capturing the complexity of real-world identity documents. In this paper, we introduce a new approach to synthetic data generation that uses LLMs to create contextually rich and realistic data without relying on predefined field. Using the vast knowledge LLMs have about different documents and content, our method creates data that reflects the variety found in real identity documents. This data is then encoded into barcode and overlayed on templates for documents such as Driver's licenses, Insurance cards, Student IDs. Our approach simplifies the process of dataset creation, eliminating the need for extensive domain knowledge or predefined fields. Compared to traditional methods like Faker, data generated by LLM demonstrates greater diversity and contextual relevance, leading to improved performance in barcode detection models. This scalable, privacy-first solution is a big step forward in advancing machine learning for automated document processing and identity verification.
title LLM for Barcodes: Generating Diverse Synthetic Data for Identity Documents
topic Computation and Language
Artificial Intelligence
Cryptography and Security
url https://arxiv.org/abs/2411.14962