String

extension String: FaceTemplateConvertible

Makes String convertible to a face template

Since

2.1.0
  • Initialize a string from a face template

    Since

    2.1.0

    Declaration

    Swift

    public init(from faceTemplate: [Float]) throws

    Parameters

    faceTemplate

    Face template

  • Convert this string to a face template

    Since

    2.1.0

    Declaration

    Swift

    public func faceTemplate() throws -> [Float]