Gist 0b384246f66fe33ea9666f0d1aec3707
✓ Published0🌍 Public
CCharlesFr
Last edited Mar 29, 2017
Created on Mar 29, 2017
This example displays a neural network’s real-time classification of handwritten digit images from a testing set, cycling through a random card number each time the mouse is pressed. The Processing sketch uses the `Network` class to respond to pixel data from a 196-input layer, then renders the network’s nodes and connections with `smooth()` and `stroke(150)`. The current card index and its label are shown as text at the bottom of the canvas, while the background is cleared each frame with `background(255)`.
AI-generated description