File size: 1,867 Bytes
405176a 3d6e692 405176a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
---
title: Nudity Detection App
emoji: 🛡️
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: "1.27.0"
app_file: app.py
pinned: false
---
# Nudity Detection App
The **Nudity Detection App** is a tool designed to analyze images and videos for nudity detection. Built with **Streamlit** and **OpenCV**, it offers two key features:
- **Image Nudity Detection**: Upload an image to detect nudity, visualize the detection, and blur nudity if found.
- **Video Nudity Detection**: Upload a video to scan for nudity frame-by-frame.
## Features
1. Detect nudity in images and videos.
2. Provide visualized results for detection.
3. Automatically blur detected nude areas for privacy.
## Requirements
- Python 3.7+
- ONNX model file (`best.onnx`) placed in the project directory.
## Installation
1. Clone this repository:
```bash
git clone https://github.com/AdiKhanOfficial/nudity-detection-app.git
cd nudity-detection-app
```
2. Install required packages:
```bash
pip install -r requirements.txt
```
3. Run the application:
```bash
streamlit run app.py
```
## File Descriptions
- **`app.py`**: Main app file to toggle between image and video detection.
- **`nude_image_app.py`**: Handles image nudity detection logic.
- **`nude_video_app.py`**: Handles video nudity detection logic.
- **`NudeDetector.py`**: Core detection logic using an ONNX model.
- **`best.onnx`**: Pre-trained ONNX model (not included, must be added manually).
## Screenshots
1. **Image Detection Interface**
Detect nudity in images with visualized results.
2. **Video Detection Interface**
Analyze video frames for nudity detection.
## Contact
For further queries or assistance, contact:
**Adil Khan**
- [Website](https://adikhanofficial.com)
- [GitHub](https://github.com/AdiKhanOfficial)
- [WhatsApp](https://wa.me/+923065305216)
|