I'm interested in using brain.js: https://github.com/harthur/brain
There is a provided demo that shows how to train the neural network to recognise colour contrast, but how can I set it up so that it can learn, from input, which colour text ( white or black ) looks better on different background images?
Here is that demo: http://harthur.github.io/brain/
I have a set of background images that I want to train against. And then I want to save that training data and be able to add it to a site that uses those background images and that way be able to determine which colour text to use on top of them.