Advancing Bangla typography: machine learning and transfer learning based font detection and classification approach using the ‘Bang-laFont45’ dataset ML and TL based font detection and classification approach using ‘Bang-laFont45’ dataset

Main Article Content

DOI

Kazi Samiul Islam

ksbnimil@gmail.com

https://orcid.org/0009-0007-4470-5431
Gourab Roy

gourabroysec553@gmail.com

Nafiz Nahid

nafiz234.nn@gmail.com

Sunjida Yeasmin Ripti

sunjida.ripti23@gmail.com

Md. Abu Naser Mojumder

abu.naser84@gmail.com

Md. Janibul Alam Soeb

janibul.fpm@sau.ac.bd

Md. Fahad Jubayer

fahadbau21@hotmail.com

Abstract

This paper presents a dataset for detecting and classifying Bangla fonts, consisting of 28,000 images across 45 classes, aimed at supporting font users and typography researchers. Four traditional machine learning models— Support Vector Classifier (SVC), Logistic Regression (LR), K-Nearest Neighbors (KNN), and Random Forest—achieved accuracies of 93.43%, 92.37%, 84.71%, and 81.48%, respectively, with SVC performing best. Six transfer learning models—VGG-16, VGG-19, ResNet-50, MobileNet-v3, Xception, and Inception—were trained, yielding accuracies of 87.74%, 80.00%, 87.26%, 80.55%, 82.30%, and 80.11%, respectively. The results highlight the effectiveness of both traditional and transfer learning models in font detection, with SVC and VGG-16 emerging as top performers.

Keywords:

Typography, image recognition, Xception, Support Vector Classifier (SVC)

References

Article Details

Islam, K. S., Roy, G., Nahid, N., Ripti, S. Y., Mojumder, M. A. N., Soeb, M. J. A., & Md. Fahad Jubayer. (2025). Advancing Bangla typography: machine learning and transfer learning based font detection and classification approach using the ‘Bang-laFont45’ dataset : ML and TL based font detection and classification approach using ‘Bang-laFont45’ dataset . Journal of Computer Sciences Institute, 35, 166–174. https://doi.org/10.35784/jcsi.7120