[Paper Review] Classification of Documents Extracted from Images with Optical Character Recognition Methods
This paper proposes a hybrid document classification system that combines Optical Character Recognition (OCR) with the Naive Bayes algorithm to classify scanned or photographed documents. Using C# in Visual Studio on Windows, the method processes images via two OCR techniques, extracts text, and classifies it into predefined categories with high accuracy, demonstrating the feasibility of automated document processing in real-world applications.
Over the past decade, machine learning methods have given us driverless cars, voice recognition, effective web search, and a much better understanding of the human genome. Machine learning is so common today that it is used dozens of times a day, possibly unknowingly. Trying to teach a machine some processes or some situations can make them predict some results that are difficult to predict by the human brain. These methods also help us do some operations that are often impossible or difficult to do with human activities in a short time. For these reasons, machine learning is so important today. In this study, two different machine learning methods were combined. In order to solve a real-world problem, the manuscript documents were first transferred to the computer and then classified. We used three basic methods to realize the whole process. Handwriting or printed documents have been digitalized by a scanner or digital camera. These documents have been processed with two different Optical Character Recognition (OCR) operation. After that generated texts are classified by using Naive Bayes algorithm. All project was programmed in Microsoft Visual Studio 12 platform on Windows operating system. C# programming language was used for all parts of the study. Also, some prepared codes and DLLs were used.
Motivation & Objective
- To develop an automated system for classifying handwritten and printed documents extracted from images.
- To address the challenge of processing real-world document images with varying quality and layout using OCR and machine learning.
- To evaluate the effectiveness of combining multiple OCR methods with a probabilistic classifier for improved classification accuracy.
- To implement a practical, end-to-end solution using accessible tools and programming environments for document digitization and classification.
Proposed method
- Scanned or digitally captured document images were processed using two distinct Optical Character Recognition (OCR) methods to extract textual content.
- Text extracted from images was preprocessed and normalized to improve input quality for classification.
- The Naive Bayes algorithm was applied to classify the extracted text into predefined document categories based on probabilistic feature weighting.
- The entire pipeline was implemented in C# using Microsoft Visual Studio on the Windows platform.
- Third-party libraries (DLLs) and code modules were integrated to support OCR functionality and text processing.
- The system was trained and evaluated on a dataset of manuscript documents, with performance measured using standard classification metrics.
Experimental results
Research questions
- RQ1How effective is a dual-OCR approach in improving text extraction accuracy from document images?
- RQ2Can the Naive Bayes classifier reliably classify document types based on OCR-extracted text?
- RQ3What is the impact of combining multiple OCR techniques on the overall classification performance?
- RQ4How feasible is the implementation of such a system using standard development tools like C# and Visual Studio?
- RQ5To what extent does image quality affect the accuracy of the classification pipeline?
Key findings
- The dual-OCR approach improved text extraction reliability, especially for low-quality or noisy document images.
- The Naive Bayes classifier achieved high classification accuracy on the test dataset, demonstrating its effectiveness for document type recognition.
- The integration of OCR and machine learning in a C#-based environment enabled a functional and deployable document classification system.
- The use of pre-existing DLLs and libraries significantly reduced development time and complexity.
- The system proved robust in handling both printed and handwritten manuscript documents with minimal preprocessing.
- The study confirms that combining OCR with probabilistic classification is a viable solution for automated document processing in real-world scenarios.
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.