Class JsonHealthInsuranceCardRecognizerParameters
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class JsonHealthInsuranceCardRecognizerParameters implements Parcelable
The live detection configuration parameters.
-
-
Field Summary
Fields Modifier and Type Field Description private List<JsonHealthInsuranceCardCountryType>
acceptedCountries
private Integer
minBirthYear
private Integer
maxBirthYear
private Integer
minExpirationYear
private Integer
maxExpirationYear
private Integer
maxCountryDetectionAttempts
private Integer
maxAccumulatedFrameCount
private Integer
minEqualFrameCount
-
Constructor Summary
Constructors Constructor Description JsonHealthInsuranceCardRecognizerParameters(List<JsonHealthInsuranceCardCountryType> acceptedCountries, Integer minBirthYear, Integer maxBirthYear, Integer minExpirationYear, Integer maxExpirationYear, Integer maxCountryDetectionAttempts, Integer maxAccumulatedFrameCount, Integer minEqualFrameCount)
-
Method Summary
Modifier and Type Method Description final List<JsonHealthInsuranceCardCountryType>
getAcceptedCountries()
List of allowed countries for the health insurance card recognizer. final Unit
setAcceptedCountries(List<JsonHealthInsuranceCardCountryType> acceptedCountries)
List of allowed countries for the health insurance card recognizer. final Integer
getMinBirthYear()
Minimum of birth-year. final Unit
setMinBirthYear(Integer minBirthYear)
Minimum of birth-year. final Integer
getMaxBirthYear()
Maximum of birth-year. final Unit
setMaxBirthYear(Integer maxBirthYear)
Maximum of birth-year. final Integer
getMinExpirationYear()
Minimum of card-expiration-year. final Unit
setMinExpirationYear(Integer minExpirationYear)
Minimum of card-expiration-year. final Integer
getMaxExpirationYear()
Maximum ranges of card-expiration-year. final Unit
setMaxExpirationYear(Integer maxExpirationYear)
Maximum ranges of card-expiration-year. final Integer
getMaxCountryDetectionAttempts()
Maximum number of attempts before giving up on country detection. final Unit
setMaxCountryDetectionAttempts(Integer maxCountryDetectionAttempts)
Maximum number of attempts before giving up on country detection. final Integer
getMaxAccumulatedFrameCount()
Maximum number of partial frame results to keep in cache while waiting to gather minEqualFrameCount
equal results.final Unit
setMaxAccumulatedFrameCount(Integer maxAccumulatedFrameCount)
Maximum number of partial frame results to keep in cache while waiting to gather minEqualFrameCount
equal results.final Integer
getMinEqualFrameCount()
Minimum number of accumulated frames that should have equal result for a field. final Unit
setMinEqualFrameCount(Integer minEqualFrameCount)
Minimum number of accumulated frames that should have equal result for a field. -
-
Constructor Detail
-
JsonHealthInsuranceCardRecognizerParameters
JsonHealthInsuranceCardRecognizerParameters(List<JsonHealthInsuranceCardCountryType> acceptedCountries, Integer minBirthYear, Integer maxBirthYear, Integer minExpirationYear, Integer maxExpirationYear, Integer maxCountryDetectionAttempts, Integer maxAccumulatedFrameCount, Integer minEqualFrameCount)
-
-
Method Detail
-
getAcceptedCountries
final List<JsonHealthInsuranceCardCountryType> getAcceptedCountries()
List of allowed countries for the health insurance card recognizer.
-
setAcceptedCountries
final Unit setAcceptedCountries(List<JsonHealthInsuranceCardCountryType> acceptedCountries)
List of allowed countries for the health insurance card recognizer.
-
getMinBirthYear
final Integer getMinBirthYear()
Minimum of birth-year.
-
setMinBirthYear
final Unit setMinBirthYear(Integer minBirthYear)
Minimum of birth-year.
-
getMaxBirthYear
final Integer getMaxBirthYear()
Maximum of birth-year.
-
setMaxBirthYear
final Unit setMaxBirthYear(Integer maxBirthYear)
Maximum of birth-year.
-
getMinExpirationYear
final Integer getMinExpirationYear()
Minimum of card-expiration-year.
-
setMinExpirationYear
final Unit setMinExpirationYear(Integer minExpirationYear)
Minimum of card-expiration-year.
-
getMaxExpirationYear
final Integer getMaxExpirationYear()
Maximum ranges of card-expiration-year.
-
setMaxExpirationYear
final Unit setMaxExpirationYear(Integer maxExpirationYear)
Maximum ranges of card-expiration-year.
-
getMaxCountryDetectionAttempts
final Integer getMaxCountryDetectionAttempts()
Maximum number of attempts before giving up on country detection.
-
setMaxCountryDetectionAttempts
final Unit setMaxCountryDetectionAttempts(Integer maxCountryDetectionAttempts)
Maximum number of attempts before giving up on country detection.
-
getMaxAccumulatedFrameCount
final Integer getMaxAccumulatedFrameCount()
Maximum number of partial frame results to keep in cache while waiting to gather
minEqualFrameCount
equal results.
-
setMaxAccumulatedFrameCount
final Unit setMaxAccumulatedFrameCount(Integer maxAccumulatedFrameCount)
Maximum number of partial frame results to keep in cache while waiting to gather
minEqualFrameCount
equal results.
-
getMinEqualFrameCount
final Integer getMinEqualFrameCount()
Minimum number of accumulated frames that should have equal result for a field.
-
setMinEqualFrameCount
final Unit setMinEqualFrameCount(Integer minEqualFrameCount)
Minimum number of accumulated frames that should have equal result for a field.
-
-
-
-