When EasyOCR extracts CNIC date fields, noise or special characters can garble dates (e.g., returning 10202151492& or 8XI||-2313 instead of 10.02.2015). Currently CNICExtractor strictly expects DD.MM.YYYY, returning None for all dates when noise is present.
When EasyOCR extracts CNIC date fields, noise or special characters can garble dates (e.g., returning
10202151492&or8XI||-2313instead of10.02.2015). CurrentlyCNICExtractorstrictly expectsDD.MM.YYYY, returningNonefor all dates when noise is present.