Abstract
In the digital era, the rapid growth of communication technologies has facilitated the widespread dissemination of explicit content, leading to increased sexting and raising significant social and privacy concerns. This study presents a hybrid image processing and deep learning framework for classifying images into Nude, Semi-Nude, and Non-Nude categories. The proposed method combines advanced image processing techniques with a YOLOv8 segmentation model (YOLOv8-seg) based object detection and novel texture- and anatomy-aware feature analysis to enhance visual cue extraction. A new deep learning architecture, termed REI–ECA–SAM, built upon the InceptionV3 backbone and enhanced with efficient channel and spatial attention mechanisms, is employed for robust classification. The proposed REI-ECA-SAM framework achieved an overall classification accuracy of an accuracy of 97.14%, outperforming several state-of-the-art CNN architectures while maintaining computational efficiency. Unlike existing attention-based CNNs, the proposed framework integrates rule-based anatomical feature extraction with a Residual Enhanced Inception architecture and dual attention mechanisms to improve multi-class discrimination between visually similar Nude and Semi-Nude images.

This publication has 19 references indexed in Scilit: