A Laravel-based web application for analyzing videos using deep learning to detect potential deepfake video content.
- Video upload and processing
- Deepfake detection analysis with visual explanations
- Email notifications with results
- User authentication and authorization
- Report generation and management
- Interactive report interface
- Side-by-side frame comparison
- Grad-CAM visualization of suspicious regions
- On-demand video generation
- Detailed analysis metrics
- Real-time processing status updates
This repository is part of a larger DeepScan ecosystem consisting of three main components:
-
DeepScan Platform (this repo)
- Main web application for video upload and analysis
- User interface and result visualization
- Video processing and frame extraction
- Queue management and notifications
- Interactive report interface featuring:
- Side-by-side comparison of original and analyzed frames
- On-demand video generation of analysis results
- Detailed frame-by-frame analysis visualization
- Export and sharing capabilities
-
DeepScan API (deepscan-api)
-
REST API for deepfake detection inference
-
Receives extracted frames from the main platform
- Frame-by-frame deepfake probability scores
- Grad-CAM visualizations highlighting suspicious regions
- Explanation data for model decisions
-
Handles model deployment and scaling
-
-
DeepScan Model (deepscan-model)
- Deep learning model training code
- Dataset preparation and preprocessing
- Model evaluation and validation
- Model interpretability and visualization tools
- Backend Framework: Laravel 11
- Frontend Framework: Vue.js 3 with Inertia.js
- CSS Framework: Tailwind CSS
- Database: MySQL/PostgreSQL
- Queue System: Redis with Laravel Horizon
- File Storage: SFTP support via Flysystem
- Video Processing: FFmpeg integration via pbmedia/laravel-ffmpeg
- PHP 8.2 or higher
- Composer
- Node.js & NPM
- Redis server
- FFmpeg
- MySQL/PostgreSQL
-
Clone the repository:
git clone https://github.com/your-repo/deepscan.git cd deepscan
-
Install PHP Dependencies:
composer install
-
Install Javascript Dependencies:
npm install
-
Create Enviornment File:
cp .env.example .env
-
Generate Application Key:
php artisan key:generate
-
Configure your database in
.env
file:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
-
Run Migrations:
php artisan migrate
-
Build Frontend Assets:
npm run build
-
Start the Development Server:
php artisan serve
-
Start the Frontend Development Server:
npm run dev
-
Start the Queue Worker:
php artisan queue:work deepscan_model php artisan horizon
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License.
- Laravel Framework
- Vue.js
- Tailwind CSS
- FFmpeg