🌏
International Engineering Publisher
Serving Researchers Since 2012

Offline Layout-Based Handwritten Data Extraction and Direct Database Loading Without the Use of Cloud Recognition Using Existing Scanner Printer Devices for Barangay Information Management Systems

DOI : 10.5281/zenodo.23358983
Download Full-Text PDF Cite this Publication

Text Only Version

Offline Layout-Based Handwritten Data Extraction and Direct Database Loading Without the Use of Cloud Recognition Using Existing Scanner Printer Devices for Barangay Information Management Systems

Vincenth B. Tadena, Norhasan R. Rajahmuda, James T. Laniohan

University of Southern Mindanao (USM Kabacan)

Abstract:

Barangay offices still continue to use common handwritten forms in processing resident data. This approach is still very much convenient for both residents and barangay employees. Handwritten forms are easy to use, inexpensive, and do not require computer literacy. However, after the form is submitted at the office, barangay stuffs and employees still have to manually input the data into barangay systems. This method becomes repetitive and time consuming. This is become source of human errors such as misspelled names, incomplete data, and duplicate entries, which may reduce the integrity and transparency of the data.

Things become more complicated when internet connectivity becomes unstable. Most online computer applications require constant internet connectivity to function. Without it, processing becomes slow or even comes to a standstill or worse it will not load the data.

This paper studies the current research papers about offline handwritten data extracting systems which utilizes scanner- printer devices that already exist in barangay offices. These systems recognize text entries using layout-based templates where each handwritten entry is assigned to a particular column in table inside database, without online cloud recognition. In this way, the system is also able to take scanned forms as input and load it into databases without the constant requirement of up-to-the- minute internet connectivity.

The literature review presented clearly demonstrates that such systems are able to greatly reduce both the time and error rate in encoding data. They are also cost-effective for smaller local government units because they use pre-existing hardware. In general, offline layout-based extraction and direct database would help improve on-site barangay information management without introducing complexity.

Index Terms:

Barangay Information Systems, Database Loading, Handwritten Data Extraction, Layout-based Recognition, Offline Processing

  1. INTRODUCTION

    Barangay represent the lowest public governance in the Philippines, but they are part of the important part units of the Philippines. For every Filipino citizen, interactions with government begin at this level whether for certification, proof of residency, or updating demographic records of individual residents. Due to its close link to daily life of

    each individual, the accuracy and reliability of record management at the barangay level have practical impacts.

    Despite the gradual push of current generation toward digitalization in public administration, many barangay offices continue to operate within a hybrid system, which is paper based and digital based. Documentation in the form of paper is also still entrenched with daily dealings. Practically, handwritten forms are not only considered old systems but they are still operable and present. Residents can complete them without assistance, and staff can process them using existing equipment without additional training or

    assistance.

    The challenge emerges after submission of the completed form of resident data. Once handwritten forms are received, personnel must manually encode the information to the computer or a system application before it saved to the database. Although this task might seem simple in terms of modernizing, it gets heavily load when the number of volumes transactions rises. The total of numerous encoding errors in the form of misspellings, omissions, repeated entries can impact the overall quality of the data in the long term. Even careful staff members cannot entirely eliminate human error in repetitive encoding tasks again. Also, the online connection further complicates the situation. Many digital solutions assume stable internet access like the extraction of raw text in the form.

    However, the internet access is still not consistent in a number of rural or semi-urban municipalities. Interruptions in the workflow are caused when the connections are slow or unavailable. Offices may temporarily revert to manual processes or can result to interrupt the other work of stuff of the barangay and can cause a workload, which reduces operational efficiency and delays service delivery.

    Meanwhile, the development of handwritten text recognition (HTR) technologies has also come in handy in the present generation. Algorithms that rely on machine learning especially that relying on AI generated or AI assisted system, now show a high performance in controlled conditions. However, the majority of the available implementations are aimed at the environments with stable equipment and where specialized assistance can be provided. The applications that are adapted to smaller administrative units that have fewer resources are given relatively less consideration in the existing literature.

    The research presented in this study fills that gap in practice. Instead of coming up with a novel recognition algorithm, it discusses how the existing offline, layout- driven systems could be adjusted to accommodate the management of information at barangay-level. It is not theoretical novelty that is being emphasized, but rather contextual appropriateness and practicality.

  2. Literature and Available

    Technology. Nevertheless, computer handwritten text reading is much different as compared to that of a printed text. The letters are printed in a very similar type, with an equal level of color shading and shape and thus are easy to recognize. Writing however, can be so unpredictable in individuals. Other than size, spacing, slant and shape of the letters can either vary or differ hence making it hard to separate and also recognize whether that particular combination of letters is actually a word or not by the computer.

    Recent years have seen the new models of artificial intelligence which have significantly enhanced the handwritten recognition, the way machines perceive

    handwriting. The high-powered programs implemented in most of these systems are cloud server-based. It makes them faster and easier to update the information they want. Nevertheless, they use a robust internet connectivity and in most cases they demand payment over subscriptions to the serves that may not be applicable to small offices especially in barangay.

    The other type is templated or layout processing as the utilization of QR codes. Forms in this solution have very distinguishing sections of the different types of fields of forms such as name, address and date of birth. It implies that it reads one section at a time and forwards the results to the appropriate location within database. That process is easily automated by the computer since the answers are entered in designated boxes or even dictated by a word. This works well with the structured documents such as those that are in the barangay offices.

    The issue is that most of the available form processing systems are configured to large firms or organizations. They might need expensive licenses, technical installation or upgraded equipment. This may not be supported by smaller local offices in terms of budget or technical support. The multifunction printers (MPF) devices are already present in most of the barangay offices. Use of these machines implies that they are able to read documents without the need of new equipment. Their solution is compatible with offline handwriting recognition software and template-based data processing to come up with an independent system that is not connected to the network and internet.

    Although the technology is present in the current generation, the studies that concentrate on its application in the small local government offices such as barangays are still few. Rather than designing totally new systems, it can be more appropriate to design a localize system that can tailor the current technology to suit barangay needs and constraints.

  3. METHODOLOGY

    Within the framework of this research, various books, research papers and articles were checked in order to learn how offline handwriting recognition and structured form processing were done. It was not aimed at testing systems in the laboratory, but to identify solutions that would realistically work in the barangay offices.

    Straight forward procedure has been created which can be undertaken in stages, yet which might require minor modifications as time goes by.

    First, the form templates are created with clear boundaries to ensure the correct segmentation of each part.

    Second, there is scanning of processed forms with the current multifunction printer machines. The

    image files obtained are then processed by a layout recognition module which identifies preselected areas corresponding to fields in the database.

    Third, the system has the offline recognition software to interpret the handwritten answers. The system is also able to send the information to the right section of the database after reading the answers.

    Fourth, the staffs run through the findings and save them. In case certain words are not clear or they may be mistaken, they can correct them. Human checking has not been eliminated yet as some handwriting is not easy to read.

    The various technologies were contrasted according to the precision of the scanning of wording and its precision it will extract and save the data, speed with which they operate with on-going loading of data, the need to use the internet, the cost it will incur, and whether or not they could practically be utilized in the small barangay offices.

  4. RESULTS AND DISCUSSION

    The findings of the reviewed studies demonstrate that the structured method of extraction is optimal compared to the free-form recognition one in an administrative context. This has been attributed to the fact that when the text is typed in a predefined field, the level of interpretation is narrowed upon and therefore the output is more accurate.

    The off line system is more functional. The administrative functions will be able to proceed even when there is a disconnection in connectivity. Besides, they are stored on the local infrastructure. This arrangement can also be dynamic to meet the data management demands of the organization.

    The direct database method does not have to go through several encoding measures. This is attributed to the fact that the personnel will have to manually input the data contained in paper documents in digital documents platform and verify and rectify the information to ensure that no miss information is present at a given time. Such a strategy can lead to a considerable decrease in the daily work of the staff within a certain time frame.

    Nevertheless, some problems persist. Different people write in various styles and their writing may be difficult to read. Forms are also sometimes not filled in fully, or are not legible. Due to this reason, the system might not necessarily identify everything appropriately.

    Moreover, the form template is time consuming and requires fine tuning before it can be configured at the start. This is why a combined method is the most appropriate. The system will automatically read and process majority of the information although the results should be checked by the people before saving it to maintain data accuracy. In this manner, the job is made quicker yet accuracy and

    responsibility are still upheld at a time by barangay office stuffs.

  5. CONCLUSION

A realistic modernization approach of barangay information system is therefore offline layout-based handwritten data extraction accompanied by direct loading of the database. The expenses of implementation are relatively low with the utilization of already available infrastructure. More to the point, reliance on continuous internet connectivity is maintained to minimal levels.

Based on the literature review, the evidence is that templates enhance the reliability of the recognition in a standardized administrative environment. Although differences in handwriting and specifications of systems are factors to be considered, they can be handled by designing and validation.

In the case of modernization of the barangay setting, a substantial transformation of the available equipment is not always the requirement. Small steps, like offline structural extraction, so that it will be able to enhance efficiency and accuracy considerably. Proper adaptation of existing technology in the particular set up could prove more beneficial than the adoption of new technology.

REFERENCES:

Garrido-Muñoz, C., Ríos-Vila, A., & Calvo- Zaragoza, J. (2025). Handwritten text recognition: A survey. arXiv. https://arxiv.org/abs/2502.08417v1

Sousa Neto, A. F. de, Bezerra, B. L. D., de Moura,

G. C. D., & Toselli, A. H. (2024). Data augmentation for offline handwritten text recognition: A systematic literature review. SN Computer Science. https://link.springer.com/article/10.1007/s42979- 023-02583-6

Chakraborty, S., Harit, G., & Ghosh, S. (2023). TransDocAnalyser: A framework for offline semi- structured handwritten document analysis in the legal domain. arXiv. https://arxiv.org/abs/2306.02142

Constum, T., Tranouez, P., & Paquet, T. (2024). DANIEL: A fast document attention network for information extraction and labelling of handwritten documents. arXiv. https://arxiv.org/abs/2407.09103

Hamdan, M., Rahiche, A., & Cheriet, M. (2024). HAND: Hierarchical attention network for multi- scale handwritten document recognition and layout analysis. arXiv. https://arxiv.org/abs/2412.18981

Rahman, M. A., Tabassum, N., Paul, M., Pal, R., & Islam, M. K. (2022). BN-HTRd: A benchmark dataset for document-level offline Bangla handwritten text recognition (HTR) and line segmentation. arXiv. https://arxiv.org/abs/2206.08977

Inunganbi, S. (2023). A systematic review on handwritten document analysis and recognition. Multimedia Tools and Applications. https://link.springer.com/article/10.1007/s11042- 023-15326-9

Castro, D., Bezerra, B. L. D., & Zanchettin, C. (2024). An end-to-end approach for handwriting recognition: From handwritten text lines to complete pages. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW). https://openaccess.thecvf.com/content/CVPR2024 W/LXCV/papers/Castro_An_End-to- End_Approach_for_Handwriting_Recognition_Fr om_Handwritten_Text_Lines_CVPRW_2024_pap er.pdf

Graves, A., FernĂĄndez, S., Gomez, F., & Schmidhuber, J. (2009). Offline handwriting recognition with multidimensional recurrent neural networks. Advances in Neural Information Processing Systems (NeurIPS). https://doi.org/10.5555/2984093.2984214

Bluche, T. (2016). Joint line segmentation and transcription for end-to-end handwritten paragraph recognition. Advances in Neural Information Processing Systems (NeurIPS). https://arxiv.org/abs/1604.07242

Puigcerver, J. (2017). Are multidimensional recurrent layers really necessary for handwritten text recognition? International Conference on Document Analysis and Recognition (ICDAR). https://arxiv.org/abs/1705.08371

Kang, L., Riba, P., Wang, Y., Rusinol, M., Fornés, A., & Villegas, M. (2020). Pay attention to what you read: Non-recurrent handwritten text-line recognition. Pattern Recognition. https://doi.org/10.1016/j.patcog.2019.107232

Coquenet, D., Chatelain, C., & Paquet, T. (2020). End-to-end handwritten paragraph text recognition using a vertical attention network.

IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI). https://arxiv.org/abs/2002.07823

Michael, J., Labahn, R., GrĂŒning, T., & Zöllner, J. (2019). Evaluating sequence-to-sequence models for handwritten text recognition. International Conference on Document Analysis and Recognition (ICDAR). https://arxiv.org/abs/1905.13392

Singh, A., Bacchuwar, K., & Bhowmick, P. (2018). Handwritten text recognition using deep learning: A review. International Journal of Engineering and Technology.

Wigington, C., Tensmeyer, C., Davis, B., Barrett, W., Price, B., & Cohen, S. (2017). Data augmentation for recognition of handwritten words and lines using a CNN-LSTM network.

International Conference on Document Analysis and Recognition (ICDAR).

Renton, G., Chatelain, C., & Paquet, T. (2019). Handwritten text recognition using deep learning: A review. Pattern Recognition.

Fogel, S., Averbuch-Elor, H., Cohen, S., & Wolf,

L. (2020). ScrabbleGAN: Semi-supervised varying length handwritten text generation. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://arxiv.org/abs/2003.02567

Simard, P. Y., Steinkraus, D., & Platt, J. C. (2003). Best practices for convolutional neural networks applied to visual document analysis. ICDAR. LeCun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE. https://doi.org/10.1109/5.726791

Shi, B., Bai, X., & Yao, C. (2017). An end-to-end trainable neural network for image-based sequence recognition and its application to scene text recognition. IEEE TPAMI. https://doi.org/10.1109/TPAMI.2016.2646371

Baek, J., Lee, B., Han, D., Yun, S., & Lee, H. (2019). What is wrong with scene text recognition model comparisons? Dataset and model analysis. ICCV. https://arxiv.org/abs/1904.01906

Diaz, M., Qin, Y., & McGuinness, K. (2019). A survey of offline handwritten text recognition: From handcrafted features to deep learning. IEEE Access. https://doi.org/10.1109/ACCESS.2019.2962612

Clanuwat, T., Kitamoto, A., Lamb, A., Yamamoto, K., Ha, D., & Yamamoto, K. (2018). Deep learning for classical Japanese literature. NeurIPS Workshop. https://arxiv.org/abs/1812.01718

Baevski, A., et al. (2020). wav2vec 2.0: A framework for self-supervised learning of speech representations. NeurIPS. (useful for sequence modeling parallels in HTR)

Sanchez, J. A., Romero, V., & Toselli, A. H. (2019). ICDAR2019 competition on handwritten text recognition on historical documents. ICDAR.

Pratikakis, I., Zagoris, K., Barlas, G., & Gatos, B. (2017). ICFHR2016 handwritten document image binarization contest (H-DIBCO). Pattern Recognition.

TADENA, VINCENTH B.

Department of Computer Engineering University of Southern Mindanao Kabacan North Cotabato, Philippines vbtadena@usm.edu.ph

NORHASAN R. RAJAHMUDA

Department of Computer Engineering University of Southern Mindanao Kabacan North Cotabato, Philippines s.nrrajahmuda@usm.edu.ph

JAMES T. LANIOHAN

Department of Computer Engineering University of Southern Mindanao Kabacan North Cotabato, Philippines s.jlaniohan@usm.edu.ph

Fischer, A., & Bunke, H. (2012). Hidden Markov models for offline handwritten text recognition: A survey. Pattern Recognition. https://doi.org/10.1016/j.patcog.2011.10.008

GrĂŒning, T., Leifert, G., Strauß, T., & Labahn, R. (2018). A two-stage method for text line detection in historical documents. ICDAR.

Kumar, J., & Govindaraju, V. (2015). Handwritten document image analysis: A review. IJDAR. https://doi.org/10.1007/s10032-014-0228-8

He, K., Zhang, X., Ren, S., & Sun, J. (2016). Deep residual learning for image recognition. CVPR. https://arxiv.org/abs/1512.03385

Vaswani, A., et al. (2017). Attention is all you need. NeurIPS. https://arxiv.org/abs/1706.03762

Dosovitskiy, A., et al. (2021). An image is worth 16×16 words: Transformers for image recognition at scale. ICLR. https://arxiv.org/abs/2010.11929