Options

struct Options

Video ID capture options.

  • ID to selfie match threshold between 0.0 (no similarities) and 1.0 (exactly the same). Default is 0.9.

    Declaration

    Swift

    public var idToSelfieMatchThreshold: Float
  • ID to ID photo match threshold between 0.0 (no similarities) and 1.0 (exactly the same). Default is 0.9.

    Declaration

    Swift

    public var idToIdPhotoMatchThreshold: Float
  • Front ID string difference threshold between 0.0 (exactly the same) and 1.0 (no similarities). Default is 0.25.

    Declaration

    Swift

    public var frontLevenshteinThreshold: Float
  • Back ID string difference threshold between 0.0 (exactly the same) and 1.0 (no similarities). Default is 0.45.

    Declaration

    Swift

    public var backLevenshteinThreshold: Float
  • “Read Text” countdown timer duration in seconds. Default is 10.

    Declaration

    Swift

    public var readTextCountdownSeconds: Int
  • “Read Text” word match threshold between 0.0 (no words must match) and 1.0 (all words must match). Default is 0.5.

    Declaration

    Swift

    public var readTextWordMatchThreshold: Float
  • Whether or not to display debug information during capture. Default is false.

    Declaration

    Swift

    public var isDebugMode: Bool
  • Minimum ID front capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.5.

    Declaration

    Swift

    public var frontRealnessThreshold: Float
  • Minimum ID back capture realness threshold percentage, represented as a value between 0.0 and 1.0. Default is 0.3.

    Declaration

    Swift

    public var backRealnessThreshold: Float
  • Whether or not to perform Real ID processing. Default is false.

    Declaration

    Swift

    public var enableRealId: Bool