Smart Handwritten Recognition Using Deep Learning