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"
Metadata
Release files for phorensics 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phorensics-0.1.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phorensics-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / phorensics-0.1.1.tar.gz
| Download URL | phorensics-0.1.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a874a0fdbd9026f25ba174f32555d456172f65e1a2422c99037140f066e456b3
|
|
BLAKE2b-256 checksum How to use checksums |
da28ae187015c2682062f2b5e04d96e2f14ddd2f907326ecbead5b1c87fcf1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / phorensics-0.1.1-py3-none-any.whl
| Download URL | phorensics-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
589f01f546eab745968663a0e7daba23d400235f181fbb6153f405db2620f903
|
|
BLAKE2b-256 checksum How to use checksums |
53e69c06ca2d8501de8e886a451712bf2357ee7de8f2043b5e341ce698101f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|