๐Ÿ” Image Forensics Toolkit

๐Ÿ•ต๏ธโ€โ™‚๏ธ Digital Image Forensics Toolkit

Classical (non-AI) methods for authenticating images. These tools do not "classify fake vs real" with a neural network; they look for physical and signal-processing inconsistencies left behind by editing software and generative models.

Which tool should I use?

Your question Tool
Was a region pasted in from another photo? CFA + JPEG Ghost
Does the image have a consistent compression history? JPEG Ghost
Does every pixel come from the same camera sensor? PRNU
Do all shadows point to a single light source? Shadows

Suggested workflow

  1. CFA full-image scan โ€” fast overview of regions with a broken interpolation grid.
  2. JPEG Ghost detection โ€” check for double-compression splices.
  3. PRNU detection (if you have camera reference photos) โ€” the strongest sensor-level evidence.
  4. Shadows โ€” for outdoor scenes with visible straight shadows.

Key principle

No single forensic cue is conclusive. Triangulate: two independent methods pointing at the same region is much stronger evidence than any one method alone. Every tab documents its own limitations โ€” read them before drawing conclusions.

Open source

Apache License 2.0 โ€” see LICENSE and NOTICE (the PRNU backend is a Python port of J. Fridrich's reference MATLAB toolbox). Citations: see CITATION.cff.