Hi I am getting this error and am unable to figure out the cause:
Traceback (most recent call last): File "detect.py", line 35, in <module> identical_regions_cfa = copy_move_cfa.detect('..//images//' + im_str, opt, args) File "/Users/michaelyan/Desktop/forgery-detection/src/copy_move_cfa.py", line 165, in detect cparts = clusterparts(dparts, block_len, opt) if int(opt.imauto) else [[elem[-1] for elem in dparts]] File "/Users/michaelyan/Desktop/forgery-detection/src/copy_move_cfa.py", line 101, in clusterparts clusters = [[parts[0][-1]]] IndexError: list index out of range
Hi I am getting this error and am unable to figure out the cause:
Traceback (most recent call last): File "detect.py", line 35, in <module> identical_regions_cfa = copy_move_cfa.detect('..//images//' + im_str, opt, args) File "/Users/michaelyan/Desktop/forgery-detection/src/copy_move_cfa.py", line 165, in detect cparts = clusterparts(dparts, block_len, opt) if int(opt.imauto) else [[elem[-1] for elem in dparts]] File "/Users/michaelyan/Desktop/forgery-detection/src/copy_move_cfa.py", line 101, in clusterparts clusters = [[parts[0][-1]]] IndexError: list index out of range