lovell / lovell/sharp

It would be nice to have a super fast 100x faster than pixelmatch function

Open
#2,067 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
32.7k
Forks
1.4k
Avg merge
1d 14h
Merged PRs (30d)
5

Description

What are you trying to achieve?
Use the sharp library to compare an input image to hundreds/thousands of images to find the closest match at speeds 100x faster than https://github.com/mapbox/pixelmatch

Have you searched for similar feature requests?
https://github.com/lovell/sharp/issues/1067
https://github.com/lovell/sharp/issues/1067#issuecomment-580969548 (my comment)

What would you expect the API to look like?
I'm not sure yet, but I prepared a proof of concept that is exciting to mention (at least for me)

What alternatives have you considered?
None.

Is there a sample image that helps explain?
No.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the related sharp issue #1067 and its linked comment, then review the proposed proof of concept mentioned here. Define the comparison API and benchmark it against pixelmatch across hundreds or thousands of images; done requires an agreed API and evidence of the targeted speed improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
computer-vision, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.