Detect dni ocr with ideal image.