A simple feed forward neural net written from scratch in Python for educational purposes.
Given the RGB values of a solid background color - predicts whether a black or white text should be displayed for best readability.
The current iteration has an accuracy of 97~% based on my own test set.
$ python3 train.py
View your test set results in the generated results.html.
You can also create your own data set for training/testing using this tool. Drop the generated json in the data/ folder and update the trainer to read from that instead.