Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect near identical images #1271

Open
raphael0202 opened this issue Oct 25, 2023 Discussed in #1201 · 0 comments
Open

Detect near identical images #1271

raphael0202 opened this issue Oct 25, 2023 Discussed in #1201 · 0 comments

Comments

@raphael0202
Copy link
Collaborator

Discussed in #1201

Originally posted by raphael0202 May 23, 2023

Problem

It seems we have an increasing number of duplicated images in Open Food Facts database: images with different binary content, but that are however almost identical.

Example:

We want to detect these almost identical images to remove them. It enables us to save disk space and make the work of contributors easier.

Proposed solution

Use fingerprinting techniques to assign a single hash to each image. See this blog post for more information about image fingerprinting. Explore the recall/precision trade-off for each hashing techniques.

The documentation of the undouble library is available here.

You can download all images of a selected subset of products using Open Food Facts Images dataset, and detect quasi-similar images. A manual analysis of results should be performed to assess which technique is the most robust for our use case and the precision/recall/accuracy metrics.

Related issues

openfoodfacts/openfoodfacts-server#8445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants