Nightshade Antidote is an image forensics tool used to analyze digital images for signs of manipulation or forgery. It implements several common techniques used in image forensics including:
The tool takes an input image, performs analysis using the above techniques, and outputs a report summarizing the findings.
Nightshade Antidote requires the following Python packages:
To use Nightshade Antidote, simply run the Python script on an input image:
python nightshade_antidote.py input.jpg
This will perform forensics analysis on input.jpg
and output the results to the console and generate plots where relevant.
The script contains several functions that can be called independently to perform specific analyses:
detect_copy_move
- Detect copy-move forgeryanalyze_metadata
- Extract and print metadataspectral_analysis
- Frequency domain analysispixel_ordering_check
- Check DCT coefficientscompression_artifacts_check
- Check for JPEG artifactsfile_format_check
- Verify file formatoutput_report
- Generate analysis reportNightshade Antidote will output a comprehensive analysis report for the input image including:
Any anomalies or indications of manipulation will be highlighted in the report.
Nightshade Antidote was created by Richard Aragon. The code implements common digital image forensics techniques based on research papers and books in the field.