Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question