Deep Shield is an AI-powered solution designed to provide comprehensive security and detection against potential threats. This repository includes the codebase, models, and necessary files to deploy and test the system locally or in production environments.
- Deepfake Detection: Detects deepfake images using advanced AI algorithms.
- Full-Stack Application: Includes both a Django-based backend and a React Native mobile app.
- Customizable and Scalable: Flexible architecture for deployment on various platforms.
- Real-time Analysis: Processes data in real-time for immediate threat identification.
- Seamless Integration: React Native app interacts with the backend API smoothly.
- Project Structure
- Installation
- Backend Setup
- Mobile App Setup
- Usage
- Dependencies
- Contributing
- License
Deep_Shield/
├── backend/ # Django backend for deepfake detection API
│ ├── all/
├── templates/
├── detector/
├── media/
├── views.py
├── urls.py # HTML files for web-based frontend
│ ├── backend/ # Static files (CSS, JS, images)
│ ├── manage.py # Django management script
│ ├── requirements.txt # Backend dependencies
├── mobile-app/ # React Native app
│ ├── App.js # Main entry point for the app
│ ├── package.json # Dependencies for the mobile app
├── README.md # Project documentation
└── LICENSE # License file
Note : This react Native and Frontend app in Django use a API which is created with backend folder using Rest Framework , You have to perform port forwarding in vscode and forward 8000 and make url public that public url you have to used in react native and in scripts.js in backend/all/static/scripts.js
-
Navigate to the backend folder:
cd backend -
Install the required dependencies:
pip install -r requirements.txt
-
Run database migrations:
python manage.py migrate
-
Start the Django server:
python manage.py runserver
-
The API will be available at
http://127.0.0.1:8000/.
-
Navigate to the mobile-app folder:
cd mobile-app -
Install the required dependencies using npm or yarn:
npm install
or
yarn install
-
Start the Expo development server:
npx expo start
-
Use the Expo Go app on your mobile device to scan the QR code and run the app.
- Use the backend API to upload an image for deepfake detection.
- The React Native app interacts with the backend to provide a seamless user experience.
- Monitor results on the app or through the web interface provided by the backend.
-
Backend:
- Django
- Pillow (for image handling)
- TensorFlow/PyTorch (for AI models)
- Other dependencies in
backend/requirements.txt
-
Mobile App:
- React Native
- Expo (compulsory)
- Axios (for API communication)
- Other dependencies in
mobile-app/package.json
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Commit your changes (
git commit -m "Add new feature"). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.