Options
struct Options
Video ID capture options.
-
ID to selfie match threshold between
0.0
(no similarities) and1.0
(exactly the same). Default is0.9
.Declaration
Swift
public var idToSelfieMatchThreshold: Float
-
ID to ID photo match threshold between
0.0
(no similarities) and1.0
(exactly the same). Default is0.9
.Declaration
Swift
public var idToIdPhotoMatchThreshold: Float
-
Front ID string difference threshold between
0.0
(exactly the same) and1.0
(no similarities). Default is0.25
.Declaration
Swift
public var frontLevenshteinThreshold: Float
-
Back ID string difference threshold between
0.0
(exactly the same) and1.0
(no similarities). Default is0.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) and1.0
(all words must match). Default is0.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
and1.0
. Default is0.5
.Declaration
Swift
public var frontRealnessThreshold: Float
-
Minimum ID back capture realness threshold percentage, represented as a value between
0.0
and1.0
. Default is0.3
.Declaration
Swift
public var backRealnessThreshold: Float
-
Whether or not to perform Real ID processing. Default is
false
.Declaration
Swift
public var enableRealId: Bool