Integrating Socio-Visual Features for Flag Recognition Using Random Forest Algorithms

Abstract: This research presents a machine learning-based system for national flag recognition using the Random Forest (RF) algorithm. The model was trained on a dataset comprising 193 country flags and 41 features, including visual attributes and socio-economic indicators. To enhance model performance, a detailed preprocessing pipeline was applied, removing irrelevant features, converting categorical data, handling missing values, and consolidating sparse classes. The processed data was split into training and testing sets, and a RF classifier was trained using 100 trees. The model achieved a classification accuracy of 94.6%, with a low Out-of-Bag (OOB) error rate of 2.6%. While the system performed well overall, it exhibited sensitivity to class imbalance. This study demonstrates the viability of ensemble learning for symbolic image classification and lays the foundation for more inclusive recognition tools in educational, accessibility, and cross-cultural applications. Keywords: Deep Learning, Random Forest Algorithm, Flag Recognition.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-06-05
DOI
https://doi.org/10.5281/zenodo.15598280
Primary Topic
Handwritten Text Recognition Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Integrating Socio-Visual Features for Flag Recognition Using Random Forest Algorithms

Zenodo (CERN European Organization for Nuclear Research)
Handwritten Text Recognition Techniques
article

Integrating Socio-Visual Features for Flag Recognition Using Random Forest Algorithms

article en

Abstract

Abstract: This research presents a machine learning-based system for national flag recognition using the Random Forest (RF) algorithm. The model was trained on a dataset comprising 193 country flags and 41 features, including visual attributes and socio-economic indicators. To enhance model performance, a detailed preprocessing pipeline was applied, removing irrelevant features, converting categorical data, handling missing values, and consolidating sparse classes. The processed data was split into training and testing sets, and a RF classifier was trained using 100 trees. The model achieved a classification accuracy of 94.6%, with a low Out-of-Bag (OOB) error rate of 2.6%. While the system performed well overall, it exhibited sensitivity to class imbalance. This study demonstrates the viability of ensemble learning for symbolic image classification and lays the foundation for more inclusive recognition tools in educational, accessibility, and cross-cultural applications. Keywords: Deep Learning, Random Forest Algorithm, Flag Recognition.

Zenodo (CERN European Organization for Nuclear Research)
University of Science and Technology (YE), University of Aden (YE)
Openalex Percentile: Top 55%
Handwritten Text Recognition Techniques
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.