Skip to content

saiteja007-mv/Cyberbully-Detection-in-Texts-Images-and-Audios

Repository files navigation

๐Ÿš€ Cyberbullying Detection in Texts, Images, and Audios

Detecting cyberbullying in online content using Machine Learning & Deep Learning techniques.

Flow of Events


๐ŸŒœ Table of Contents


๐Ÿ“ Introduction

Cyberbullying is a growing concern in social media and online communities. This project leverages Machine Learning & Deep Learning models to detect cyberbullying across multiple data formats:

  • Text using Bidirectional LSTM (Bi-LSTM)
  • Images using Convolutional Neural Networks (CNN)
  • Audio using Speech Recognition and NLP

The project aims to provide a high-accuracy cyberbullying detection system to ensure a safer online environment.


๐ŸŒŸ Features

โœ… Detection of cyberbullying in text, images, and audio
โœ… Ensemble approach combining Bi-LSTM and CNN for better accuracy
โœ… Multi-modal data support
โœ… Performance evaluation using accuracy, precision, recall, and confusion matrix
โœ… Potential extension to video-based analysis


โš™๏ธ Installation

Clone the repository and install dependencies:

git clone https://github.com/saiteja007-mv/Cyberbully-Detection-in-Texts-Images-and-Audios.git
cd Cyberbully-Detection-in-Texts-Images-and-Audios
pip install -r requirements.txt

Make sure you have Jupyter Notebook installed:

pip install notebook

๐Ÿš€ Usage

1๏ธโƒฃ Open Jupyter Notebook

jupyter notebook

2๏ธโƒฃ Navigate to the notebook files for text, image, and audio analysis
3๏ธโƒฃ Prepare your dataset with labeled cyberbullying and non-cyberbullying content
4๏ธโƒฃ Run the cells in the notebook to train the models
5๏ธโƒฃ View evaluation metrics and predictions


๐Ÿ“‚ Datasets

๐Ÿ“ Text Dataset

  • File: twitter.csv
  • Content: Labeled tweets for cyberbullying detection
    Text dataset

๐Ÿ–ผ๏ธ Images Dataset

  • Folder: Images_dataset
  • Content: Cyberbullying-related images
    Images dataset

๐Ÿ”Š Audio Dataset

  • Folder: audios
  • Content: Audio samples labeled for cyberbullying
    Audio dataset

๐Ÿ“Š Evaluation Metrics

The models are evaluated based on:

  • ๐Ÿ’ข Accuracy: Percentage of correctly classified instances
  • ๐Ÿ“ Precision: Ratio of correctly predicted positive observations
  • ๐Ÿ“‹ Recall: Proportion of actual positives correctly identified
  • ๐Ÿ“Š Confusion Matrix: Visual representation of true vs. predicted labels

Acc_pre_bar_epochs
Text_Metrics_vs_epochs
Confusion_matrix_text


๐Ÿ“ˆ Results

  • High accuracy achieved for text and image-based cyberbullying detection
  • The ensemble approach (Bi-LSTM + CNN) improved precision & recall
  • Future improvements can enhance audio analysis

๐ŸŽฏ Conclusion

This project demonstrates that deep learning models can effectively detect cyberbullying across different media types. The ensemble approach combining Bidirectional LSTM and CNN significantly improves accuracy. However, further enhancements are required for real-time video analysis.


๐Ÿ”ฎ Future Work

๐Ÿ”น Integrate video analysis using object recognition and context analysis
๐Ÿ”น Enhance speech recognition for better audio-based detection
๐Ÿ”น Deploy as an API or web application for real-time cyberbullying detection
๐Ÿ”น Improve dataset diversity to enhance model generalization


๐Ÿ“š References

๐Ÿ“– V. Subrahmanian and S. Kumar, Predicting human behavior: The next frontiers, Science, vol. 355, no. 6324, p. 489, 2017.

๐Ÿ“– H. Lauw, J. C. Shafer, R. Agrawal, and A. Ntoulas, Homophily in the digital world: A Live Journal case study, IEEE Internet Comput., vol. 14, no.2, pp. 15โ€“23, 2010.

๐Ÿ“– Arindam Mandal, Sriparna Saha, Alexandar Ferworn, A Hybrid Model for Cyberbullying Detection on Facebook.

About

๐Ÿš€ Cyberbullying Detection in Texts, Images, and Audio | A Machine Learning & Deep Learning-based project using Bi-LSTM & CNN to detect cyberbullying across multiple media formats. Supports text, image, and audio analysis with high accuracy. Future enhancements include video-based detection & real-time analysis. ๐ŸŒ๐Ÿ”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors