Classification of Handwriting Margin Patterns Using Ensemble Bagging Decision Tree

Authors

  • Rista Ifanka Universitas Muhammadiyah Gresik
  • Soffiana Agustin Universitas Muhammadiyah Gresik

DOI:

https://doi.org/10.59934/jaiea.v5i3.2313

Keywords:

Bagging, Feature Extraction; Handwriting Analysis; Image Processing; Margin Classification

Abstract

Analysis of handwriting margins plays an important role in graphology, as margin patterns are often associated with individual behavioral tendencies and personality traits. Therefore, detecting and classifying margin characteristics is essential to support automated handwriting analysis using computational approaches. This study uses a computer vision-based approach to classify left-margin handwriting patterns into widening and narrowing categories. The classification is performed by analyzing margin characteristics extracted from scanned handwriting images. The processing pipeline consists of image preprocessing, hybrid feature extraction, and classification using an Ensemble Bagging Decision Tree model. The preprocessing stage enhances image quality through grayscale conversion, contrast adjustment, adaptive thresholding, and noise removal, followed by Region of Interest extraction to focus on the handwriting area. The feature extraction stage applies a hybrid strategy that combines line-based margin analysis and global spatial features to capture both local variations and overall structure. Model performance is evaluated using stratified 5-fold cross-validation to ensure reliable and unbiased results. The experimental findings show that the method achieves an average accuracy of 84.91%, with relatively balanced precision, recall, and F1-score across both classes. These results indicate that margin-based features are effective for representing handwriting patterns in classification tasks. However, variations in writing style and noise from the scanning process may influence performance. Overall, this study demonstrates that the applied approach provides reliable classification results and has potential for further improvement through feature expansion and more advanced learning models.

Downloads

Download data is not yet available.

Author Biography

Rista Ifanka, Universitas Muhammadiyah Gresik

Rista Ifanka is an undergraduate student in the Department of Informatics, Faculty of Engineering, Universitas Muhammadiyah Gresik, Indonesia. Her research interests include computer vision, image processing, and machine learning, particularly in handwriting analysis and pattern recognition. She has conducted research on the classification of handwriting margin patterns using ensemble learning approaches.

References

A. Gumilang and S. Agustin, "Deteksi Kepribadian Melalui Margin Pada Tulisan Tangan Menggunakan Random Forest," Jurnal Inovtek Polbeng - Seri Informatika, vol. 9, no. 1, pp. 311–325, 2024.

S. P. Deore, "Human Behavior Identification Based on Graphology Using Artificial Neural Network," Acadlore Trans. Mach. Learn., vol. 1, no. 2, pp. 101–108, 2022, doi: 10.56578/ataiml010204.

A. G. Purwanto, R. Y. Wijaya, Timotius, I. J. Agustian, and I. B. Trisno, "Analisis dan Desain Intelligent Agent Menentukan Kepribadian Berdasarkan Tulisan Tangan," J. Nas. Komputasi Teknol. Inf., vol. 5, no. 2, pp. 243–247, Apr. 2022.

S. Deore, P. Kalokhe, S. Patil, S. Nagarkar, and V. Oswal, "Identifying the Personality Traits Using Handwriting Recognition in a Real-Time Environment," Ingénierie des Systèmes d'Inf., vol. 30, no. 1, pp. 203–211, Jan. 2025, doi: 10.18280/isi.300117.

Samsuryadi, R. Kurniawan, J. Supardi, Sukemi, and F. S. Mohamad, "A Framework for Determining the Big Five Personality Traits Using Machine Learning Classification through Graphology," J. Electr. Comput. Eng., vol. 2023, pp. 1–15, Jan. 2023, doi: 10.1155/2023/1249004.

D. Gagiu and D. Sendrescu, "Detection of Personality Traits Using Handwriting and Deep Learning," Appl. Sci., vol. 15, no. 4, p. 2154, Feb. 2025, doi: 10.3390/app15042154.

M. Fadhilla, M. R. A. Saf, and D. S. S. Sahid, "Pengenalan Kepribadian Seseorang Berdasarkan Pola Tulisan Tangan Menggunakan Jaringan Saraf Tiruan," J. Nas. Tek. Elektro dan Teknol. Inf. (JNTETI), vol. 6, no. 3, pp. 365–373, Aug. 2017.

U. Rosyidah and N. Rochmawati, "Analisis Kepribadian Melalui Tulisan Tangan Menggunakan Metode Support Vector Machine," J. Informatics Comput. Sci. (JINACS), vol. 1, no. 2, pp. 91–96, 2019.

W. Wijaya, H. Tolle, and F. Utaminingrum, "Personality Analysis through Handwriting Detection Using Android Based Mobile Device," J. Inf. Technol. Comput. Sci. (JITeCS), vol. 2, no. 2, pp. 114–128, 2017.

A. Esposito, T. Amorese, M. Buonanno, M. Cuciniello, A. M. Esposito, M. Faundez-Zanuy, L. Likforman-Sulem, M. T. Riviello, C. Spagnuolo, A. Troncone, and G. Cordasco, "Handwriting and Drawing Features for Detecting Personality Traits: An Analysis on Big Five Sub-dimensions," Acta Polytech. Hung., vol. 19, no. 11, pp. 65–84, 2022.

A. A. Khan, O. Chaudhari, and R. Chandra, "A review of ensemble learning and data augmentation models for class imbalanced problems: Combination, implementation and evaluation," Expert Syst. Appl., vol. 244, p. 122778, Jan. 2024, doi: 10.1016/j.eswa.2023.122778.

A. Ayodele, "A comparative study of ensemble learning techniques for imbalanced classification problems," World J. Adv. Res. Rev., vol. 19, no. 1, pp. 1633–1643, 2023, doi: 10.30574/wjarr.2023.19.1.1202.

M. Khemchandani, N. S. Ghali, D. D. Haldankar, and R. K. Sonkar, “Personality and Behavior Identification Based on Handwriting Analysis,” J. Commun. Eng. Syst., vol. 12, no. 1, pp. 1–6, 2022.

D. T. Anggraeni, "Perbaikan Citra Dokumen Hasil Pindai Menggunakan Metode Simple, Adaptive-Gaussian, dan Otsu Binarization Thresholding," EXPERT J. Manaj. Sist. Inf. Teknol., vol. 11, no. 2, pp. 71–77, Dec. 2021, doi: 10.36448/expert.v11i2.2170.

G. A. Sirait, N. Yudistira, and A. Ridok, "Segmentasi Citra Makanan pada Tray Box menggunakan Metode Otsu Thresholding dengan Ruang Warna," J. Pengemb. Teknol. Inf. Ilmu Komput., vol. 6, no. 2, pp. 649–657, Feb. 2022.

A. Susanto, "Penerapan Operasi Morfologi Matematika Citra Digital untuk Ekstraksi Area Plat Nomor Kendaraan Bermotor," J. Pseudocode, vol. 6, no. 1, pp. 49–57, Feb. 2019.

G. A. Trianto, F. J. Sinaga, M. F. Marzuki, and Q. A. Qorni, "Operasi Opening dan Closing pada Pengolahan Citra Digital Menggunakan Matlab," in Proc. MDP Student Conf. (MSC) 2022, Palembang, 2022, pp. 104–110, ISBN: 978-602-51717-7-2.

R. Ptak, B. Żygadło, and O. Unold, "Projection-based text line segmentation with a variable threshold," Int. J. Appl. Math. Comput. Sci., vol. 27, no. 1, pp. 195–206, 2017, doi: 10.1515/amcs-2017-0014.

S. Mawaddah and N. Suciati, "Pengenalan karakter tulisan tangan menggunakan ekstraksi fitur bentuk berbasis chain code," Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 7, no. 4, pp. 683–692, Aug. 2020, doi: 10.25126/jtiik.202072022.

Downloads

Published

2026-06-15

How to Cite

Rista Ifanka, & Soffiana Agustin. (2026). Classification of Handwriting Margin Patterns Using Ensemble Bagging Decision Tree. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(3), 3959–3968. https://doi.org/10.59934/jaiea.v5i3.2313

Issue

Section

Articles