Skip to content

List index out of range in copy_move_cfa.py #1

Description

@michaelyan-coupa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions