CardImageVerificationConfig

object CardImageVerificationConfig

Properties

Link copied to clipboard
var CARD_ONLY_SEARCH_DURATION_MILLIS: Int

The maximum duration for which to search for good verification images after the card number has been found.

Link copied to clipboard
var DESIRED_CARD_COUNT: Int = 5

Once this number of frames with a clearly centered card are found, stop looking for images with clearly centered cards.

Link copied to clipboard
var DESIRED_OCR_AGREEMENT: Int = 3

Once this number of frames with matching card numbers are found, stop looking for card numbers.

Link copied to clipboard
var MAX_COMPLETION_LOOP_FRAMES: Int = 5

The maximum number of frames to process

Link copied to clipboard
var MAX_SAVED_FRAMES_PER_TYPE: Int = 6

The maximum number of saved frames per type to use.

Link copied to clipboard
var NO_CARD_VISIBLE_DURATION_MILLIS: Int

The duration after which the scan will reset if no card is visible.

Link copied to clipboard
var OCR_AND_CARD_SEARCH_DURATION_MILLIS: Int

The maximum duration for which to search for both a card number and good verification images.

Link copied to clipboard
var OCR_ONLY_SEARCH_DURATION_MILLIS: Int

The maximum duration for which to search for a card number after the verification images have been satisfied.

Link copied to clipboard
var WRONG_CARD_DURATION_MILLIS: Int

Display the wrong card notification to the user for this duration.