A CNN Analogue hardware for character recognition