Array
extension Array: FaceTemplateConvertible where Element == NSNumber
Makes [NSNumber]
convertible to a face template
Note
[NSNumber]
is the raw face template type returned by the Ver-ID SDK
Since
2.1.0-
Initialize
[NSNumber]
from a face templateSince
2.1.0Declaration
Swift
public init(from faceTemplate: [Float]) throws
Parameters
faceTemplate
Face template
-
Convert this
[NSNumber]
to a face templateSince
2.1.0Declaration
Swift
public func faceTemplate() throws -> [Float]