Comparative Analysis of Large Language Models for OCR Post-Processing in Persian: From ParsBERT to GPT

Optical Character Recognition (OCR) refers to the automatic identification of text in images and its conversion into searchable and editable formats. Due to its extensive applications, OCR is considered a crucial and challenging topic in the field of computer vision. In Persian, the unique characteristics of the script often result in OCR outputs with significant errors, which can compromise readability and comprehension of the content, emphasizing the need for error correction, particularly in terms of spelling. This study investigates the performance of four large language models-ParsBERT, LLaMA, Mistral, and GPT-for enhancing OCR outputs. Additionally, an innovative approach that integrates ParsBERT with other models is introduced. These models were evaluated on three corpora of varying sizes and complexities using diverse evaluation metrics, including precision, accuracy, recall, and others. Our comparative analysis highlights the strengths and weaknesses of each model across different scenarios, providing deeper insights into their performance. Furthermore, the results demonstrate that the proposed hybrid approaches outperform standalone models across all corpora, significantly reducing error rates and improving key metrics such as precision, accuracy, and recall.

Authors

Institutions

Publication Details

Published
2025-02-05
DOI
https://doi.org/10.1109/csicc65765.2025.10967472
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of Large Language Models for OCR Post-Processing in Persian: From ParsBERT to GPT

Fahimeh Ghasemian, Elham Shabaninia, Fatemeh Valizadeh
1 citations
Natural Language Processing Techniques
2.48
article

Comparative Analysis of Large Language Models for OCR Post-Processing in Persian: From ParsBERT to GPT

Fahimeh Ghasemian, Elham Shabaninia, Fatemeh Valizadeh
article en
1 citations

Abstract

Optical Character Recognition (OCR) refers to the automatic identification of text in images and its conversion into searchable and editable formats. Due to its extensive applications, OCR is considered a crucial and challenging topic in the field of computer vision. In Persian, the unique characteristics of the script often result in OCR outputs with significant errors, which can compromise readability and comprehension of the content, emphasizing the need for error correction, particularly in terms of spelling. This study investigates the performance of four large language models-ParsBERT, LLaMA, Mistral, and GPT-for enhancing OCR outputs. Additionally, an innovative approach that integrates ParsBERT with other models is introduced. These models were evaluated on three corpora of varying sizes and complexities using diverse evaluation metrics, including precision, accuracy, recall, and others. Our comparative analysis highlights the strengths and weaknesses of each model across different scenarios, providing deeper insights into their performance. Furthermore, the results demonstrate that the proposed hybrid approaches outperform standalone models across all corpora, significantly reducing error rates and improving key metrics such as precision, accuracy, and recall.

Shahid Bahonar University of Kerman (IR), Graduate University of Advanced Technology (IR)
Quality Education
Openalex Percentile: Top 11%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.