Optional
source: DeepPartial<EuropeanHealthInsuranceCardRecognizerConfiguration>List of allowed countries for the EHIC. If:
If the country cannot be inferred within maxCountryDetectionAttempts
successive frames in which the
part of the card number that stores the country code was successfully OCR'd, then the country is
inferred to be Unknown and no validation rules are applied. Field accumulation then proceeds normally.
In this case recognize() can eventually return Success and the document will have a CountryType of Unknown.
[];
Maximum number of partial frame results to keep in cache while waiting to gather minEqualFrameCount equal results.
10;
Maximum year of birth.
2999;
Maximum number of attempts before giving up on country detection. After the specified number of attempts, the country field is considered to be unknown and validation is skipped. This option is ignored if allowedCountries is not empty.
5;
Maximum card expiration year.
2999;
Minimum year of birth.
0;
Minimum number of accumulated frames that should have equal result for a field. Once satisfied, the corresponding field is considered to be successfully-recognized and won't be considered in the subsequent frames.
4;
Minimum card expiration year.
0;
Generated using TypeDoc
Configuration for the European health insurance card (EHIC) recognizer.