AI Video Moderation System is an intelligent content filtering application designed to automatically detect and moderate inappropriate video content.
The system combines Computer Vision and Speech Processing techniques to analyze both visual and audio components of a video. It can blur potentially inappropriate visual content, detect offensive language from speech, and generate a moderation report through an interactive Gradio interface.
- Person detection using YOLOv8.
- Skin region detection using computer vision techniques.
- Automatic blurring of potentially explicit visual content.
- Speech-to-text transcription using Faster-Whisper.
- Offensive language detection using profanity filtering.
- Audio moderation reporting.
-
Upload videos directly from the browser.
-
Select moderation mode:
- NSFW Filtering
- Profanity Detection
- Both
-
Preview processed videos.
-
Download moderated output.
-
View moderation reports.
- User uploads a video.
- Video frames are analyzed using YOLOv8.
- Skin detection is applied within detected person regions.
- Potentially inappropriate regions are blurred.
- Audio is extracted from the video.
- Faster-Whisper transcribes speech content.
- Profanity filtering identifies offensive language.
- A moderation report is generated.
- Processed video is returned to the user.
- Python
- YOLOv8
- OpenCV
- Faster-Whisper
- Gradio
- MoviePy
- NumPy
- Better-Profanity
- PyTorch
AI-Video-Moderation-System/
│
├── notebook.ipynb
├── sample_videos/
├── output/
├── README.md
└── requirements.txt
Clone the repository:
git clone https://github.com/your-username/AI-Video-Moderation-System.git
cd AI-Video-Moderation-SystemInstall dependencies:
pip install -r requirements.txtOpen the notebook and execute all cells.
Or launch the Gradio interface:
app.launch()The application will generate a public/local URL where users can upload videos and receive moderated outputs.
-
Upload a video.
-
Choose:
- NSFW
- Profanity
- Both
-
Click Process.
-
Wait for analysis.
-
Download the processed video.
-
Review the moderation report.
- Real NSFW classification models.
- Multi-language profanity detection.
- Timestamp-based moderation reports.
- Face anonymization.
- Real-time video moderation.
- Cloud deployment.
- User authentication and moderation dashboard.
This project was developed as an educational AI application demonstrating the integration of:
- Computer Vision
- Natural Language Processing
- Speech Recognition
- Content Moderation Systems
- Interactive AI Interfaces
Fatma Abdullah