DSID1Options

@objc
public class DSID1Options : DSOptions

Configuration options for scanning ID1 documents

  • Tells the scan handler to attempt to detect the PDF417 barcode or MRZ on the back of an ID1 document. Defaults to true

    Declaration

    Swift

    @available(*, deprecated, message: "Use mrzCaptureMethod and detectBarcode instead")
    @objc
    public var detectBarcodeOrMRZ: Bool { get set }
  • Tells the scan handler if it should try to scan for a a face in the image. Defaults to true

    Declaration

    Swift

    @objc
    public var detectFace: Bool
  • Tells the scan handler which side of the ID1 document you are attempting to scan. This is important because based on the side the handler will try to detect different types of features to determine if the document is correct and not a credit card for example. Defaults to .Front

    Declaration

    Swift

    @objc
    public var side: DSSide
  • Tells the scan handler to look for a ID1 document of the given type.

    Declaration

    Swift

    @objc
    public var type: DSID1Type
  • Tells the scan handler to attempt to detect the PDF417 barcode on the back of an ID1 document. Defaults to true

    Declaration

    Swift

    @objc
    public var detectBarcode: Bool
  • The method in which the Machine-Readable Zone should be captured, if at all. Defaults to .detect.

    Declaration

    Swift

    @objc
    public var mrzCaptureMethod: DSMRZCaptureMethod