B
B
blabs2019-10-07 18:20:51
Pattern recognition
blabs, 2019-10-07 18:20:51

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

3 answer(s)
D
Daria Motorina, 2019-10-07
@glaphire

There is Tensorflow.js , but this is not a task that is done "on the knee"

X
xmoonlight, 2019-10-08
@xmoonlight

In-Browser Object Detection Using Tensorflow.js

R
Roman Mirilaczvili, 2019-10-09
@2ord

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 question

Ask a Question

731 491 924 answers to any question