SwiftclassVisualUnderstanding

class VisualUnderstanding.VUEnrollmentGallery

Members 11

  1. deinitdeinit
  2. fieldvar observationIdentifierBucketMap: [Int : Int]
  3. fieldvar observationIdentifierEnrollmentSortingDataMap: [Int : VisualUnderstanding.VUEnrollmentGallery.EnrollmentSortingData]
  4. funccapture(enrollmentObservations: [VisualUnderstanding.VUEnrollmentGallery.EnrollmentFaceObservation]) throws -> [Int?]
  5. funccompletionStatus(direction: VisualUnderstanding.VUEnrollmentGallery.Direction) -> VisualUnderstanding.VUEnrollmentGallery.EnrollmentCompletionStatus
  6. funckeyEnrollmentFaceObservation(direction: VisualUnderstanding.VUEnrollmentGallery.Direction) throws -> Int?
  7. funckeyEnrollmentFaceObservations() throws -> [VisualUnderstanding.VUEnrollmentGallery.Direction : Int]
  8. initVisualUnderstanding.VUEnrollmentGallery.__allocating_init(maximumIdentities: Int, maximumObservationsPerIdentity: Int, autoUpdate: Bool, isStreamingEnabled: Bool) throws -> VisualUnderstanding.VUEnrollmentGallery
  9. initVisualUnderstanding.VUEnrollmentGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration, dimensions: Int, dataType: VisualUnderstanding.VUStreamingGallery.DataType) throws -> VisualUnderstanding.VUEnrollmentGallery
  10. initVisualUnderstanding.VUEnrollmentGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration) throws -> VisualUnderstanding.VUEnrollmentGallery
  11. initVisualUnderstanding.VUEnrollmentGallery.__allocating_init() throws -> VisualUnderstanding.VUEnrollmentGallery
class VUEnrollmentGallery: VisualUnderstanding.VUStreamingGallery {
    enum VUEnrollmentGalleryError {
        case noObservations
        case badState
    }
    struct EnrollmentFaceObservation {
        let pitch: Swift.Float
        let yaw: Swift.Float
        let embedding: Foundation.Data
        let embeddingRevision: Swift.Int
        let embeddingConfidence: Swift.Float
        let direction: VisualUnderstanding.VUEnrollmentGallery.Direction
        let faceCaptureQuality: Swift.Float?

        init(pitch: Swift.Float, yaw: Swift.Float, faceCaptureQuality: Swift.Float?, embedding: Foundation.Data, embeddingRevision: VisualUnderstanding.VUObservationRevision, embeddingConfidence: Swift.Float, direction: VisualUnderstanding.VUEnrollmentGallery.Direction)
    }
    enum Direction {
        case center
        case north
        case northEast
        case east
        case southEast
        case south
        case southWest
        case west
        case northWest
    }
    enum EnrollmentCompletionStatus {
        case InsufficientObservations
        case PoorObservations
        case Complete
    }
    struct EnrollmentSortingData {
        var pitch: Swift.Float
        var yaw: Swift.Float
        var identifier: Swift.Int?
    }
    var observationIdentifierBucketMap: [Swift.Int : Swift.Int]
    var observationIdentifierEnrollmentSortingDataMap: [Swift.Int : VisualUnderstanding.VUEnrollmentGallery.EnrollmentSortingData]

    override init() throws
    override init(with: VisualUnderstanding.VUStreamingGallery.Configuration) throws
    override init(with: VisualUnderstanding.VUStreamingGallery.Configuration, dimensions: Swift.Int, dataType: VisualUnderstanding.VUStreamingGallery.DataType) throws
    override init(maximumIdentities: Swift.Int, maximumObservationsPerIdentity: Swift.Int, autoUpdate: Swift.Bool, isStreamingEnabled: Swift.Bool) throws

    func completionStatus(direction: VisualUnderstanding.VUEnrollmentGallery.Direction) -> VisualUnderstanding.VUEnrollmentGallery.EnrollmentCompletionStatus
    func keyEnrollmentFaceObservation(direction: VisualUnderstanding.VUEnrollmentGallery.Direction) throws -> Swift.Int?
    func keyEnrollmentFaceObservations() throws -> [VisualUnderstanding.VUEnrollmentGallery.Direction : Swift.Int]
    func capture(enrollmentObservations: [VisualUnderstanding.VUEnrollmentGallery.EnrollmentFaceObservation]) throws -> [Swift.Int?]

    deinit
}