Popular Python recipes tagged "copy_move_forgery"http://code.activestate.com/recipes/langs/python/tags/copy_move_forgery/2009-04-20T06:25:43-07:00ActiveState Code RecipesCopy-move forgery detection in images (Python)
2009-04-20T06:25:43-07:00Agnius Vasiliauskashttp://code.activestate.com/recipes/users/4169134/http://code.activestate.com/recipes/576689-copy-move-forgery-detection-in-images/
<p style="color: grey">
Python
recipe 576689
by <a href="/recipes/users/4169134/">Agnius Vasiliauskas</a>
(<a href="/recipes/tags/copy_move_forgery/">copy_move_forgery</a>, <a href="/recipes/tags/digital_image_forensic/">digital_image_forensic</a>, <a href="/recipes/tags/image_forgery_detection/">image_forgery_detection</a>).
Revision 5.
</p>
<p>Ad-hoc algorithm for copy-move forgery detection in images.
This algorithm is robust so it can detect copy-move forgery in lossy compression formats such as jpeg.
Because this algorithm is ad-hoc - it heavily depends on script parameters. So if it don`t finds any copy-move
tamperings in image - try to lower essential parameter "block color deviation threshold".
Something like (you can also try to change other parameters as well):</p>
<p>%script image_file --blcoldev=0.05</p>
<p>If you want to look at some copy-move forgery detection examples, - you should check this site:</p>
<p><a href="http://coding-experiments.blogspot.com/2009/03/detecting-copy-move-forgery-in-images.html" rel="nofollow">http://coding-experiments.blogspot.com/2009/03/detecting-copy-move-forgery-in-images.html</a></p>