An unbiased physics and spectral forensics engine for deepfake detection.
Project description
Phorensics 🛡️
Phorensics is an industrial-grade, unbiased physics and spectral forensics engine for deepfake and image manipulation detection.
Instead of relying solely on pattern-matching neural networks (which can be easily tricked by new AI generators), Phorensics interrogates the physical properties of light, digital compression, and sensor noise to mathematically verify an image's authenticity.
Features
- Fast Fourier Transform (FFT) Tests: Detects the unnatural decay of high-frequency spatial energy typical of Generative AI.
- Error Level Analysis (ELA): Isolates localized JPEG compression anomalies to detect spliced objects.
- PRNU Sensor Noise Tracking: Analyzes microscopic digital "dust" left by camera sensors to find erased or overwritten sections.
- RGB Matrix Correlation: Detects unnatural color channel separation that breaks physical light constraints.
- Dynamic VRAM Scaling: Automatically utilizes GPU acceleration via PyTorch, but safely hot-swaps to CPU if VRAM is exceeded.
⚙️ Installation
pip install phorensics
Usage :-
python -m phorensics "path/to/suspect_image.jpg"
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 Distribution
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 phorensics-0.1.1.tar.gz.
File metadata
- Download URL: phorensics-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a874a0fdbd9026f25ba174f32555d456172f65e1a2422c99037140f066e456b3
|
|
| MD5 |
458dce2b1401a8d57e6eea0510f17dcb
|
|
| BLAKE2b-256 |
da28ae187015c2682062f2b5e04d96e2f14ddd2f907326ecbead5b1c87fcf1be
|
File details
Details for the file phorensics-0.1.1-py3-none-any.whl.
File metadata
- Download URL: phorensics-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
589f01f546eab745968663a0e7daba23d400235f181fbb6153f405db2620f903
|
|
| MD5 |
53475a04c287c2840396b035a1836e5e
|
|
| BLAKE2b-256 |
53e69c06ca2d8501de8e886a451712bf2357ee7de8f2043b5e341ce698101f8b
|