Giter Club home page Giter Club logo

comprint's Introduction

Comprint

Comprint is an image forgery detection and localization method that utilizes compression fingerprints.

From Image Under Investigation to Comprint to Heatmap

License

These files were created by IDLab-MEDIA, Ghent University - imec, in collaboration with the Image Processing Research Group of the University Federico II of Naples (GRIP-UNINA).

All rights reserved.

This software should be used, reproduced and modified only for informational and nonprofit purposes.

By downloading and/or using any of these files, you implicitly agree to all the terms of the license, as specified in the document LICENSE.txt (included in this package).

IDLab-MEDIA: https://media.idlab.ugent.be/

GRIP-UNINA: https://www.grip.unina.it/

Installation

The code requires Python 3.X and was built with Tensorflow 2.9.1.

Install the requested libraries using:

pip install -r code/requirements.txt

Usage

Training

First, download the training and validation data, and place it in data/train and data/validation, respectively. Downloadlinks can be found in data/downloadlinks_train_and_validation.txt.

Training settings can be changed with the corresponding variables in code/train_network.py and train_network_siamese.py.

Then the shell scripts in the main folder start the training. For training the pre-trained network that estimates JPEG artifacts:

bash run-training.sh

For training the siamese network that extracts the comprint:

bash run-training-siamese.sh

Comprint and heatmap extraction

The Jupyter notebook code/get_comprint_heatmap.ipynb gives an example on how to extract the comprint and heatmap. By changing the filename / path, you can extract the comprint from other images under investigation. Our trained models are included in the models folder.

More information

More information can be found on our website.

The paper can be downloaded on arXiv.

Alternatively, the conference presentation was recorded and uploaded on YouTube, and can be watched here.

YouTube Thumbnail
Click on the image to go to the YouTube video

Reference

This work was presented in the Workshop on MultiMedia FORensics in the WILD (MMFORWILD) 2022, held in conjunction with the International Conference on Pattern Recognition (ICPR) 2022.

@InProceedings{mareen2022comprint,
  author="Mareen, Hannes and Vanden Bussche, Dante and Guillaro, Fabrizio and Cozzolino, Davide and Van Wallendael, Glenn and Lambert, Peter and Verdoliva, Luisa",
  editor="Rousseau, Jean-Jacques and Kapralos, Bill",
  title="Comprint: Image Forgery Detection and Localization Using Compression Fingerprints",
  booktitle="Pattern Recognition, Computer Vision, and Image Processing. ICPR 2022 International Workshops and Challenges",
  year="2023",
  publisher="Springer Nature Switzerland",
  address="Cham",
  pages="281--299",
  doi="10.1007/978-3-031-37742-6_23",
}

comprint's People

Contributors

hmareen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.