Skip to main content

A Python library for detecting deepfake images and videos.

Project description

Deepfake Detector

Deepfake Detector is a Python library designed for detecting deepfake content in images and videos. Leveraging advanced machine learning techniques, it provides an easy-to-use interface for real-time and batch processing of media files.

Features

  • Real-time Deepfake Detection: Analyze live video feeds to detect deepfake content.
  • Batch Processing: Process multiple images and videos to classify them as real or fake.
  • Customizable Thresholds: Adjust detection sensitivity to suit your specific needs.

Installation

You can install the deepfake_detector package using pip:

pip install deepfake_detector

Usage

For Video Detection

Detect deepfake content in a video file. You can provide a video file path or use a webcam.

from deepfake_detector import live_video_prediction, image_prediction

# Set a custom threshold
live_video_prediction(source='name.mp4',threshold=0.5)

For Image Detection

Detect deepfake content in a single image.

from deepfake_detector import live_video_prediction, image_prediction

# Image prediction example
image_prediction('name.png', threshold=0.6)

Customizing Detection Threshold

You can set the threshold to control the sensitivity of the detection.

# Example with a higher sensitivity threshold
live_video_prediction(source='name.mp4',threshold=0.5)
image_prediction('name.png', threshold=0.6)

Paper Reference

For more detailed information about the techniques used in this library, please refer to the following research paper:

Contributing

If you would like to contribute to the development of this library, please contact me.

Contact

For any questions or feedback, please contact:


Thank you for using Deepfake Detector. We hope you find it useful for your deepfake detection needs!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Deepfake-detector-1.3.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

Deepfake_detector-1.3-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page