Classifier
@objc(VerIDClassifier)
public class Classifier : NSObject
Face attribute classifier
Since
2.2.0-
Classifier name
Since
2.2.0Declaration
Swift
@objc public let name: String
-
Classifier file name
Note
Ifnil
the application will attempt to load the model file prefixed with the classifier name from the VerIDModels folderSince
2.2.0Declaration
Swift
@objc public let filename: String?
-
Face covering detection classifier
Note
This classifier is supplied with the Ver-ID SDK by default. You don’t need to load it at library initialization.Since
2.2.0Declaration
Swift
@objc public static let faceCovering: Classifier
-
Classifier constructor
Declaration
Swift
@objc public init(name: String, filename: String? = nil)
Parameters
name
Classifier name
filename
Classifier file name or
nil
to let the application load the model file prefixed with the classifier name from the VerIDModels folder