Automated Detection of Offensive Text in Social Media Images

Social media platforms have become a ubiquitous medium for communication, enabling users to share ideas, opinions, and multimedia content. However, the rise of user-generated content has also led to an increase in toxic behaviors, such as hate speech, cyberbullying, and offensive text embedded in images and memes. These harmful interactions pose significant risks to mental health and online safety, necessitating effective tools for real-time detection and moderation. This paper presents an automated system for detecting offensive text in social media images, leveraging advanced deep learning and natural language processing techniques. The proposed framework integrates YOLOv8 for robust text detection in complex images, PyTesseract for optical character recognition (OCR), and the FastText model for toxicity classification. The system is trained on the ICDAR 15 dataset, which includes diverse real-world images with varying text orientations, lighting conditions, and background complexities. To enhance accuracy, the dataset is annotated using Roboflow, ensuring precise bounding boxes for text regions. The developed web application allows users to upload social media content for real-time analysis, providing immediate feedback on the presence of offensive text. Compared to existing multimodal models, the proposed system achieves competitive performance, with FastText reaching 92.86% precision in toxicity classification and YOLOv8 achieving 57.3% mAP for text detection—balancing efficiency and accuracy for real-time use. To the best of our knowledge, this is one of the first implementations combining YOLOv8 and FastText for detecting offensive text in social media images. The proposed system aims to foster a safer online environment by empowering users and platform administrators to proactively identify and mitigate harmful content, thereby promoting responsible communication and mental well-being in digital spaces.

Authors

Institutions

Publication Details

Published
2025-07-18
DOI
https://doi.org/10.1109/accthpa65749.2025.11168676
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Detection of Offensive Text in Social Media Images

J Sherbondy Anthony, M Ferrandez Jose, Justus Joseph, S. Thomas et al.
Hate Speech and Cyberbullying Detection
article

Automated Detection of Offensive Text in Social Media Images

J Sherbondy Anthony, M Ferrandez Jose, Justus Joseph, S. Thomas, J. G. Thomas
article en

Abstract

Social media platforms have become a ubiquitous medium for communication, enabling users to share ideas, opinions, and multimedia content. However, the rise of user-generated content has also led to an increase in toxic behaviors, such as hate speech, cyberbullying, and offensive text embedded in images and memes. These harmful interactions pose significant risks to mental health and online safety, necessitating effective tools for real-time detection and moderation. This paper presents an automated system for detecting offensive text in social media images, leveraging advanced deep learning and natural language processing techniques. The proposed framework integrates YOLOv8 for robust text detection in complex images, PyTesseract for optical character recognition (OCR), and the FastText model for toxicity classification. The system is trained on the ICDAR 15 dataset, which includes diverse real-world images with varying text orientations, lighting conditions, and background complexities. To enhance accuracy, the dataset is annotated using Roboflow, ensuring precise bounding boxes for text regions. The developed web application allows users to upload social media content for real-time analysis, providing immediate feedback on the presence of offensive text. Compared to existing multimodal models, the proposed system achieves competitive performance, with FastText reaching 92.86% precision in toxicity classification and YOLOv8 achieving 57.3% mAP for text detection—balancing efficiency and accuracy for real-time use. To the best of our knowledge, this is one of the first implementations combining YOLOv8 and FastText for detecting offensive text in social media images. The proposed system aims to foster a safer online environment by empowering users and platform administrators to proactively identify and mitigate harmful content, thereby promoting responsible communication and mental well-being in digital spaces.

Government Medical College (IN)
Openalex Percentile: Top 86%
Hate Speech and Cyberbullying Detection
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.