Front

public struct Front : Encodable

Front ID capture metadata.

Properties

  • Operation time in milliseconds.

    Declaration

    Swift

    public var operationTime: Int
  • Capture time in milliseconds.

    Declaration

    Swift

    public var captureTime: Int
  • Average measured realness.

    Declaration

    Swift

    public var avg_score: String?
  • Average measured photoCopy score.

    Declaration

    Swift

    public var photo_copy: String?
  • Average measured screen score.

    Declaration

    Swift

    public var screen: String?
  • ID detection rectangle.

    Declaration

    Swift

    public var detectedRect: DetectedRect
  • ID detection confidence.

    Declaration

    Swift

    public var confidence: String

Initialization

  • Designated initializer.

    Declaration

    Swift

    public init(operationTime: Int, captureTime: Int, avgRealness: Float?, avgPhotoCopy: Float?, avgScreen: Float?, detectedRect: DetectedRect, confidence: Float)

    Parameters

    operationTime

    Operation time in milliseconds.

    captureTime

    Capture time in milliseconds.

    avgRealness

    Average measured realness.

    avgPhotoCopy

    Average measured photoCopy score.

    avgScreen

    Average measured screen score.

    detectedRect

    ID detection rectangle.

    confidence

    ID detection confidence.