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>acceptedCountriesprivate IntegerminBirthYearprivate IntegermaxBirthYearprivate IntegerminExpirationYearprivate IntegermaxExpirationYearprivate IntegermaxCountryDetectionAttemptsprivate IntegermaxAccumulatedFrameCountprivate IntegerminEqualFrameCount
-
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 UnitsetAcceptedCountries(List<JsonHealthInsuranceCardCountryType> acceptedCountries)List of allowed countries for the health insurance card recognizer. final IntegergetMinBirthYear()Minimum of birth-year. final UnitsetMinBirthYear(Integer minBirthYear)Minimum of birth-year. final IntegergetMaxBirthYear()Maximum of birth-year. final UnitsetMaxBirthYear(Integer maxBirthYear)Maximum of birth-year. final IntegergetMinExpirationYear()Minimum of card-expiration-year. final UnitsetMinExpirationYear(Integer minExpirationYear)Minimum of card-expiration-year. final IntegergetMaxExpirationYear()Maximum ranges of card-expiration-year. final UnitsetMaxExpirationYear(Integer maxExpirationYear)Maximum ranges of card-expiration-year. final IntegergetMaxCountryDetectionAttempts()Maximum number of attempts before giving up on country detection. final UnitsetMaxCountryDetectionAttempts(Integer maxCountryDetectionAttempts)Maximum number of attempts before giving up on country detection. final IntegergetMaxAccumulatedFrameCount()Maximum number of partial frame results to keep in cache while waiting to gather minEqualFrameCountequal results.final UnitsetMaxAccumulatedFrameCount(Integer maxAccumulatedFrameCount)Maximum number of partial frame results to keep in cache while waiting to gather minEqualFrameCountequal results.final IntegergetMinEqualFrameCount()Minimum number of accumulated frames that should have equal result for a field. final UnitsetMinEqualFrameCount(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
minEqualFrameCountequal results.
-
setMaxAccumulatedFrameCount
final Unit setMaxAccumulatedFrameCount(Integer maxAccumulatedFrameCount)
Maximum number of partial frame results to keep in cache while waiting to gather
minEqualFrameCountequal 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.
-
-
-
-