S
S
SpeNch2021-02-17 22:19:29
Canvas
SpeNch, 2021-02-17 22:19:29

Is there a ready-made function for detecting color in an image?

Is there a ready function on canvas? which would take a picture and give a number from 0 to 10, where each number is a color red, green, yellow ....
It would give the digit of the color of which is the most in the picture

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2021-02-17
@SpeNch

https://developer.mozilla.org/ru/docs/Web/API/Canv...
Well, then just go through and calculate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question