Optional
source: DeepPartial<CreditCardScannerConfiguration>Whether the cardholder name is required for a successful scan.
Default is true
Whether the expiry date is required for a successful scan.
Default is true
Configuration for how to accumulate results.
If true, the credit card image will be returned in creditCard field of CreditCardScanningResult.
Default is false
The scanning mode.
Default is LIVE
If true, the document detector will be used to find where the credit card is in the input image. If false, the scanner will assume that the credit card has been pre-cropped and takes the entirety of the input image.
Default is true
Configuration for the credit card scanner.