added photo digits recognizer