Secure your identity verification systems with Sense’s powerful deepfake detection. Prevent spoofing, fraud, and identity theft using advanced machine learning and computer vision
As digital identity becomes the cornerstone of secure online interactions, the threat landscape has evolved far beyond password breaches and phishing.
Modern attackers now leverage advanced spoofing techniques like a GAN image which is a synthetic (i.e., fake) image produced by an AI model trained to generate realistic-looking images that resemble real ones, such as human faces—to trick facial recognition systems.
This calls for a new generation of AI-powered defenses that go beyond static image verification and ensure the authenticity of every face presented in digital workflows.
- ONNX Runtime for inference
- Image upload and classification endpoint (/deepfake)
- Cross-Origin support (CORS) for frontend integration
- Dockerized for easy deployment
- Model visualization support
# Clone the repository
git clone https://github.com/sense-opensource/sense-deepfake-detector.git
# Navigate into the project directory
cd sense-deepfake-detector
The ONNX model file is not included in the repository. You must download the model file manually or programmatically and place it in the appropriate folder.
Download the model file from the below link:
[Model] (https://github.com/sense-opensource/sense-deepfake-detector/releases/download/v1.0.0/efficientnet-b7.onnx this file needs to be placed inside the models folder)
Ensure the model is saved in: models/efficientnet-b7.onnx
pip install -r requirements.txt
uvicorn app:app --reload
This will start the API server on: http://localhost:3015
docker build -t sense_deepfake_opensource_image .
docker run -d --name sense_deepfake_opensource_container -p 3015:3015 sense_deepfake_opensource_image
This will start the API server on: http://localhost:3015
cd front-end
npm install
npm run dev
By default, the frontend runs on: http://localhost:5000
docker stop sense_deepfake_opensource_container
docker rm -f sense_deepfake_opensource_container
docker stop sense_deepfake_opensource_container
docker rmi -f sense_deepfake_opensource_image
docker logs sense_deepfake_opensource_container
MIT License — free to use, share, and modify