Class CreditCardScanningResult

Contains the result of running the credit card scanner.

Constructors

Properties

creditCard: GenericDocument

Generic document containing credit card data. Not present, if status is FAIL.

detectionStatus: DocumentDetectionStatus

The status of the credit card detection step

quad: Point[]

Coordinates of the detected credit card in the input image (clockwise from top-left)

quadNormalized: Point[]

Coordinates of the detected credit card in the input image (clockwise from top-left), normalized to the range [0, 1]

scanningStatus: CreditCardScanningStatus

The status of the credit card scanning step

Generated using TypeDoc