Old Python 2 version:This repository now host the python 3 version. You can find the old module written with python 2 on this repository.
This is an implementation of python script to detect a copy-move manipulation attack on digital image based on Overlapping Blocks.
This script is implemented with a modification of two algoritms publicated in a scientific journals:
By modify those algorithm, this script will have a tolerance regarding variety of the input image (i.e. the result will be both smooth and robust, with a trade-off in run time)
This project was used for my Undergraduate Thesis that you can find it in here, but please note that it was written in Indonesian.
Note: This version does not support GUI. If you want to implement it, you can visit the old repo mentioned above for the snippets.
Assuming you already have Python 3.x on your machine:
pip3 install -r requirements.txt
from copy_move_detection import detect
detect.detect('assets/', 'dataset_example_blur.png', 'output/', block_size=32)
If blockSize parameter was not given, the default value would be 32 (integer).
You can also see directly at the code.
This project is licensed under the MIT License - see the LICENSE.md file for details
I mainly learnt how to do PCA on image using Python from here written by Jan Erik Solem, but the page has been erased. Shortly after knowing the page was gone, I found that the author are now founder & CEO at Mapillary (Hail, and hat tip).
Hi! I got piles email of thanks regarding how this code help them on their affairs or getting their Degree :)
Maintain the repository took time and effort, if you want to support me, please consider