Image_manipulation_detection
Image_manipulation_detection copied to clipboard
Custom Data
How can I run this code on my own data?
Did you get a fix for this?
@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 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