Skip to content

skj092/Forgegy-Image-Detection-Using-Error-level-Analysis-and-Deep-Learning

Repository files navigation

Forgegy Image Detection Using Error level Analysis and Deep Learning

Many images are spread in the virtual world of social media. With the many editing software that allows so there is no doubt that many forgery images. By forensic the image using Error Level Analysis to find out the compression ratio between the original image and the fake image, because the original image compression and fake images are different. In addition to knowing whether the image is genuine or fake can analyze the metadata of the image, but the possibility of metadata can be changed.

image forensic is a field of the study identifying the origin and verifying the authenticity of the image.

Many methods are used to determine the level of authenticity of the picture, one with determining the quality of the image compression level results. He, the methods used to measure the level of compression is using Error Level Analysis (ELA).

Error level analysis is one technique for knowing images that have been manipulated by storing images at a certain quality level and then calculating the difference from the compression level.

In this we have applied Deep Learning to recognize images of manipulations through the dataset of a fake image and original images via Error Level Analysis on each image and supporting parameters for error rate analysis.

The result of my experiment is given below:

Architecture Accuracy
CNN 88.8
Pretrained Resnet 96.2

Classification Report

image

ELA Images batch

image

Decrease in Loss on a subset of dataset

image

Increase in F1 Score over on a subset of dataset

image

Training

image

prediction on single test image ( Resnet)

python predict.py --image_path sample\Au_txt_30028.jpg --model_path resnet.pth

prediction with CNN

python predict.py --image_path sample\Au_txt_30028.jpg --model_path cnn.pth

Paper: https://www.researchgate.net/publication/332561655_Image_forgery_detection_using_error_level_analysis_and_deep_learning

About

Forgegy Image Detection Using Error level Analysis and Deep Learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published