Skip to main content

A package which will detect that the image is real or deepfake.

Project description

deepfake_image_detection

deepfake_image_detection is a Python package for detecting deepfake images using PyTorch and transformers.

Installation

You can install deepfake_image_detection via pip:

pip install deepfake_image_detection

Usage

from deepfake_image_detection import classify_image_from_url

Classify an image from URL

result = classify_image_from_url("https://example.com/image.jpg") print("Result:", result)

Description

This package provides a pre-trained deepfake image detection model that can classify images as real or fake. It uses PyTorch for deep learning tasks and transformers for natural language processing.

Contributing

Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is licensed under the MIT License - see the LICENSE file for details.

In this README.md:

  • The package name, description, installation instructions, and usage examples are provided.
  • A brief description of the package and its purpose is included.
  • Guidance for contributing to the project and licensing information are provided.
  • It includes placeholders for updating tests and the license file.

Feel free to customize it further to suit your specific needs and provide more detailed information about your package.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepfake_image_detection-0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file deepfake_image_detection-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for deepfake_image_detection-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1af5acc0bbf616b5098bd0d0c4ea6cdc09eba4bedd95618f9d21b53d512ffdc8
MD5 ff7c404e96ca17c9422883492128e016
BLAKE2b-256 ea07fd1e455e3b68582d8a8d67eef0cd3ab88227315729e235a9420400b3031a

See more details on using hashes here.

Supported by

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