My first, programmed from the very beginning, neural network which can match text color for a given RGB background. Software was based on Model-View-Controller design pattern. Model contains hole implementation of Neural Net , which structure is drawn below. Controller provides connection of Model(NeuralNet) and View. The connection is realised via boundaries , which in case of my aplication were reasised via Java interfaces.
Input layer - we fill with RGB values.
Output layer - contains the prediction of color. If the first node of this layer is active than predicted color is black. Otherwise, if the second node of that layer is active than predicted color is white.
AI - is an interface that is implemented by NeuralNet from Model module.
ThinkablePanel is an interface that is implemeted by ThinkPanel from View module.
ColorInputable is an interface that is implemeted by InputPanel from View module.