Detect ocr dni with ideal image.