Handwritten digits detection and prediction with CNN