Skip to content

Show difference maps for near duplicate images in report #173

@sanjanag

Description

@sanjanag

The diff image should look like this
Screenshot 2023-05-10 at 9 30 05 AM

base_image_gray = cv2.cvtColor(np.array(base_image), cv2.COLOR_RGB2GRAY)
near_duplicate_img_gray = cv2.cvtColor(np.array(near_duplicate_img), cv2.COLOR_RGB2GRAY)
diff_map = cv2.absdiff(base_image_gray, near_duplicate_img_gray)

Also, need to keep in mind, how to show differences if there are more than 2 images

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions