Answer the question
In order to leave comments, you need to log in
What library in HTML5 should be used to scan an image and find similarity with the image in the database?
Case: the user opens a certain site in the browser, then scans the brand logo, and if it is in the database, a video clip is displayed.
What library can be used for such purposes?
Answer the question
In order to leave comments, you need to log in
There is Tensorflow.js , but this is not a task that is done "on the knee"
Since the author of the question did not specify what exactly is meant by comparing images, I would venture to suggest that a perceptual hash is what is needed. There is a recent article that reveals its meaning: "Looks similar." How perceptual hash works .
A big plus is that you do not need to use machine learning. Everything works simply, quite reliably and does not consume a lot of resources. That is, easier than Tensorflow.
The database of logos is scanned and entered into the database, for example,
Brand | Hash
Comparison of hashes - using Hamming distance. The smaller it is, the closer it is to the original.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question