Image Caption Generation with Python: A Deep Learning-Based Approach

Siram Chaitanya Krishna, Painti Nagi Reddy, P. Kirubanantham · 2024

Today, the day-to-day generation of such a large amount of content on social media and other websites makes it impossible to maintain each image manually, so the need for automatically identifying sensitive images and filtering them out becomes inevitable. This project proposes a sensitive image classification application using automatic captions in identifying and filtering inappropriate content. Thus, the information extracted from images by ResNet50 in the caption generation process is allowed to integrate such features with a standard model through Senti-Long Short-Term Memory networks (SLSTM) for better captioning. Deep learning models bring about drastically improved quality of captions along with contextual understanding. The captions are tested rigorously with training loss metrics, BLEU scores, and sentiment analysis through the VADER Sentiment Analyzer. This system efficiently categorizes images involving violence, negativity, or dangerous situations into the class of negative. A Flask-based web application was developed for implementing a scalable and user-friendly interface, ensuring efficient content moderation. This project has illustrated the possibility of integrating deep learning techniques with natural language processing to yield beneficial content moderation, further ensuring safe and controlled online environments.

Read the paper · More papers on PaperTik