useDocumentDetector property

bool useDocumentDetector
getter/setter pair

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

Implementation

bool useDocumentDetector;