/image-Splicing-Detection

A model to detecd Image splicing forgeries based on the VGG16 pre-trained model

Primary LanguageJupyter Notebook

Detection of Image Tampering using CNN

This is an implemntation of the CNN model which is based on the VGG16 pretrained model and Fine tunned on our Datset which is The CASIA.v2 and the Columbia Image Splicing Detection Dataset

Note:

This Model was trained on the Google Colab python notebook in order to be able to run it on the google colab notebook you must edit the path for the dataset and the pretrained model and running the First inside the VGG16_based_model.ipynb to authenticate with the google drive API to load/write files from/to it.

Files structure :

--VGG16_based_model.ipynb
-- model:
------CNNImageSplicingDetectorModel.json
------CNNImageSplicingDetectorModelWeights.h5
-- dataset:
------test:
---------original
------------img1.jpg
------------img2.jpg
------------img3.jpg
---------spliced
------------img1.jpg
------------img2.jpg
------------img3.jpg
------train:
---------original
------------img1.jpg
------------img2.jpg
------------img3.jpg
---------spliced
------------img1.jpg
------------img2.jpg
------------img3.jpg
------valid:
---------original
------------img1.jpg
------------img2.jpg
------------img3.jpg
---------spliced
------------img1.jpg
------------img2.jpg
------------img3.jpg