Data pre-processing before feeding into a deep learning model
It depends on the context of your problem.
If it is an sequence of images with not great quality then we need to perform some morphological operation on it e.g.grayscale,binary image etc.
Also if the digits are distorted,then we could translate it up-to certain extent for model to learn easily.