コード例 #1
0
import forgery_detect
import glob

"""
Main Code
"""

# example
# image_file = input("Enter image file name:")

# forgery_detect.detect('../test_images/', image_file, '../output_images/', blockSize=256)
path = "../test_images/"
for i in glob.glob(path + "*.jpg"):
    image_file = i.split('/')[-1]
    forgery_detect.detect(path, image_file, '../output_images/', blockSize=300)
コード例 #2
0
import forgery_detect
"""
Main Code
"""

# example
# image_file = input("Enter image file name:")
image_file = "horse_fake.png"

forgery_detect.detect('../test_images/',
                      image_file,
                      '../output_images/',
                      blockSize=32)
コード例 #3
0
ファイル: main.py プロジェクト: masternitin/Image-forgery
import forgery_detect
"""
Main Code
"""

# example
image_file = input("Enter image file name:")

forgery_detect.detect('../image_dataset/',
                      image_file,
                      '../output_images/',
                      blockSize=32)