Beyond Binary Nudity Detection: A Hybrid Image-Processing and Attention Network for Three-Class Classification
Authors:
- Debashis DasDDDebashis Das
- Shankar K.SKShankar K.
- Sudarsan SahooSSSudarsan Sahoo
Preprint
- 2 September 2026
- preprint
- Published by Elsevier in SSRN Electronic Journal
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.Keywords
This publication has 19 references indexed in Scilit:
- Computationally optimized brain tumor classification using attention based GoogLeNet-style CNNExpert Systems with Applications, 2024
- Two-stream inter-class variation enhancement network for facial expression recognitionThe Visual Computer, 2022
- A hybrid optimization-tuned deep convolutional neural network for bare skinned image classification in websitesMultimedia Tools and Applications, 2022
- PKT: fast color-based spatial model for human skin detectionMultimedia Tools and Applications, 2021
- AttM-CNN: Attention and metric learning based CNN for pornography, age and Child Sexual Abuse (CSA) Detection in imagesNeurocomputing, 2021
- Multiple parameter algorithm approach for adult image identificationCluster Computing, 2018
- A survey on deep learning in medical image analysisMedical Image Analysis, 2017
- Pornographic image detection utilizing deep convolutional neural networksNeurocomputing, 2016
- Real-time detection of children’s skin on social networking sites using Markov random field modellingInformation Security Technical Report, 2011
- Naked image detection based on adaptive and extensible skin color modelPattern Recognition, 2007