Image_manipulation_detection icon indicating copy to clipboard operation
Image_manipulation_detection copied to clipboard

Custom Data

Open michaelyan-coupa opened this issue 5 years ago • 3 comments

How can I run this code on my own data?

michaelyan-coupa avatar Jul 30 '19 20:07 michaelyan-coupa

Did you get a fix for this?

saugatapaul1010 avatar Sep 30 '19 07:09 saugatapaul1010

@michaelyan-coupa @saugatapaul1010 hi, can you tell me how to fintune on other datasets(eg. casia dataset) ? I don't know how to obtain the ground-truth masks by thresholding the difference between tampered and original images.

xskyz avatar Oct 13 '19 06:10 xskyz

@xskyz You can compute the differences between the tampered image and the original (is denoted in the name of the tampered image). These are, even if no tampering took place, almost never zero, so you threshold (I use 100) and set all differences below this threshold to 0. The remaining differences are your ground truth. Then you draw a rectangle around it and you got your ground truth bounding box

Karl-M avatar Dec 10 '19 13:12 Karl-M