Digits Recognition with Quadrant Photodiode and Convolutional Neural Network