Typically, simple NNs for pattern recognition / handwriting accept a 2-bit logic matrix as input; that is, a black and white raster image. Make sure you have a set of tutorials; or let the user learn the algorithm through online learning backprop.
The @FrustratedWithFormsDesigner suggestion of sending an order might make NN smarter, but if you're just learning, first try the version of the bitmap and see how well it works. Also, play with the granularity of the bitmap. Perhaps first try to recognize the number, there are standard data sets for this problem on the Internet.
source share