I liked the way how you take input using pygame for digit recognition.
I feel it would be more efficient if input is given as a rasterized jpg or png of same dimension. also it can be used in general iterations. I hope you consider this as a feature request