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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepfake_image_detection-0.1-py3-none-any.whl.
File metadata
- Download URL: deepfake_image_detection-0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1af5acc0bbf616b5098bd0d0c4ea6cdc09eba4bedd95618f9d21b53d512ffdc8
|
|
| MD5 |
ff7c404e96ca17c9422883492128e016
|
|
| BLAKE2b-256 |
ea07fd1e455e3b68582d8a8d67eef0cd3ab88227315729e235a9420400b3031a
|