SwiftclassVisualUnderstanding

class VisualUnderstanding.VUStreamingGallery

Members 59

  1. deinitdeinit
  2. fieldvar autoRefresh: Bool+0x51
  3. fieldvar clusteringThreshold: Float?+0x70
  4. fieldvar countToUpdate: Int+0x68
  5. fieldvar isStreamingEnabled: Bool+0x50
  6. fieldvar keyIndex: VisualUnderstanding.VUStreamingIndex+0x18
  7. fieldlet logger: os.Logger
  8. fieldlet matchScore: Float+0x60
  9. fieldvar maxClustersPerTrack: Int+0x48
  10. fieldvar maxIdentities: Int+0x30
  11. fieldvar maxObservationsPerIdentity: Int+0x38
  12. fieldlet minAnimalprintConfidence: Float+0x5c
  13. fieldlet minFaceprintConfidence: Float+0x54
  14. fieldvar minObservationsPerEntity: Int+0x40
  15. fieldlet minTorsoprintConfidence: Float+0x58
  16. fieldvar observationTimestamp: [Int : Double]+0x20
  17. fieldvar observationTrackMap: [Int : VisualUnderstanding.VUStreamingGallery.Label]+0x28
  18. fieldvar pruningType: VisualUnderstanding.VUStreamingGallery.PruningType+0x75
  19. fieldlet signposter: os.OSSignposter
  20. fieldvar videoIndex: VisualUnderstanding.VUStreamingIndex+0x10
  21. funcadd(observations: [VNObservation], observationIdentifiers: [Int]?, trackIdentifiers: [Int]?, context: VisualUnderstanding.VUGallery.Context?) throws -> [Int]
  22. funcadd(observation: VNObservation, observationIdentifier: Int?, trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label?, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Bool) throws -> Int?
  23. funcadd(observation: VNObservation, observationIdentifier: Int?, trackIdentifier: inout VisualUnderstanding.VUStreamingGallery.Label, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Bool) throws -> Int?
  24. funcadd(observation: VisualUnderstanding.VUObservation, for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> Int?
  25. funcadd(observations: [VisualUnderstanding.VUObservation], for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> [Int?]
  26. funcautoUpdate() throws -> ()
  27. funcclusterBasedPruning() throws -> ()
  28. funcentities() -> [VisualUnderstanding.VUStreamingGallery.Label]
  29. funcexpirationEligibleObservationsByEntity() -> [VisualUnderstanding.VUStreamingGallery.Label : [(Int, Foundation.Date)]]
  30. funcexpirationEligiblePersonObservations() -> [(Int, Foundation.Date)]
  31. funcexpirationEligibleTorsoObservations() -> [(Int, Foundation.Date)]
  32. funcextendExpiration(for: Int, embeddingExpiration: Foundation.Date?, contextualEmbeddingExpiration: Foundation.Date?) throws -> ()
  33. funclegacyPruning() throws -> ()
  34. funcneedUpdate() -> Bool
  35. funcobservations(for: VisualUnderstanding.VUStreamingGallery.Label) -> [Int]
  36. funcrecognize(observation: VNObservation, context: VisualUnderstanding.VUGallery.Context?) throws -> [VisualUnderstanding.VUStreamingGallery.RecognitionResult]?
  37. funcrecognize(observation: VNObservation, k: Int, confirmedOnly: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
  38. funcrecognize(observation: VNObservation, context: VisualUnderstanding.VUGallery.Context?, k: Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
  39. funcrecognize(observation: VNObservation, k: Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
  40. funcrecognize(observation: VisualUnderstanding.VUObservation, k: Int, confirmedOnly: Bool, exhaustive: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
  41. funcrecognize(observation: VisualUnderstanding.VUObservation, k: Int, confirmedOnly: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
  42. funcremove(trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label) throws -> ()
  43. funcremove(identifiers: [Int]) throws -> ()
  44. funcremoveTorsoObservations() -> ()
  45. funcremoveTorsoObservations(for: [Int]) -> ()
  46. funcreset() throws -> ()
  47. functag(_: Int, with: VisualUnderstanding.VUStreamingGallery.Tag) throws -> ()
  48. functag(observationIdentifier: Int, tag: Foundation.UUID, tagType: VisualUnderstanding.VUGalleryTransaction.TagType) throws -> ()
  49. functrackID(identifier: Int) throws -> VisualUnderstanding.VUStreamingGallery.Label?
  50. funcupdate(maxKeyFacesPerCluster: Int, sortBy: [String]) throws -> [VisualUnderstanding.VUStreamingGallery.ClusterResult]?
  51. funcupdate() throws -> ()
  52. initVisualUnderstanding.VUStreamingGallery.__allocating_init(maximumIdentities: Int, maximumObservationsPerIdentity: Int, autoUpdate: Bool, isStreamingEnabled: Bool) throws -> VisualUnderstanding.VUStreamingGallery
  53. initVisualUnderstanding.VUStreamingGallery.__allocating_init(from: Foundation.URL?, with: VisualUnderstanding.VUStreamingGallery.Configuration?) throws -> VisualUnderstanding.VUStreamingGallery
  54. initVisualUnderstanding.VUStreamingGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration, dimensions: Int, dataType: VisualUnderstanding.VUStreamingGallery.DataType) throws -> VisualUnderstanding.VUStreamingGallery
  55. initVisualUnderstanding.VUStreamingGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration) throws -> VisualUnderstanding.VUStreamingGallery
  56. initVisualUnderstanding.VUStreamingGallery.__allocating_init() throws -> VisualUnderstanding.VUStreamingGallery
  57. varvar observationsByEntity: [VisualUnderstanding.VUStreamingGallery.Label : [Int]] { get }
  58. varvar observationsCount: Int { get }
  59. varvar torsoObservationsCount: Int { get }
class VUStreamingGallery {
    enum PruningType {
        case legacy
        case clusterBased
    }
    enum Label {
        case int(Swift.Int)
        case uuid(Foundation.UUID)

        var intValue: Swift.Int? {
            get
        }
        var uuidValue: Foundation.UUID? {
            get
        }

        static func isUnknownLabel(label: VisualUnderstanding.VUStreamingGallery.Label) -> Swift.Bool
    }
    struct Configuration {
        var maxIdentities: Swift.Int
        var maxObservationsPerIdentity: Swift.Int
        var minObservationsPerEntity: Swift.Int
        var maxKeyObservationsPerEntity: Swift.Int
        var maxClustersPerTrack: Swift.Int
        var autoUpdate: Swift.Bool
        var isStreamingEnabled: Swift.Bool
        var clusteringThreshold: Swift.Float?

        init(maxIdentities: Swift.Int?, maxObservationsPerIdentity: Swift.Int?, minObservationsPerEntity: Swift.Int?, maxKeyObservationsPerEntity: Swift.Int?, maxClustersPerTrack: Swift.Int?, autoUpdate: Swift.Bool?, isStreamingEnabled: Swift.Bool?, expirationInterval: Swift.Double?, clusteringThreshold: Swift.Float?)
        init(maxIdentities: Swift.Int?, maxObservationsPerIdentity: Swift.Int?, minObservationsPerEntity: Swift.Int?, maxKeyObservationsPerEntity: Swift.Int?, autoUpdate: Swift.Bool?, isStreamingEnabled: Swift.Bool?, expirationInterval: Swift.Double?)
    }
    enum DataType {
        case float16
        case float32
    }
    enum Tag {
        case confirmed(Foundation.UUID)
        case inferred(Foundation.UUID)

        var isConfirmed: Swift.Bool {
            get
        }
        var uuid: Foundation.UUID {
            get
        }
    }
    enum ObservationMatchType {
        case faceAndTorso
        case face
        case torso
        case unknown
    }
    struct ClusterResult {
        let observationIdentifier: Swift.Int
        let clusterIdentifier: Swift.Int
        let isKeyFace: Swift.Bool
    }
    struct RecognitionResult {
        let label: Swift.Int?
        let score: Swift.Float
    }
    struct Recognition {
        let label: VisualUnderstanding.VUStreamingGallery.Label?
        let score: Swift.Float
        var tag: VisualUnderstanding.VUStreamingGallery.Tag?
        let match: VisualUnderstanding.VUStreamingGallery.ObservationMatchType
        let expirationDate: Foundation.Date?
        let observationIdentifier: Swift.Int?
    }
    // Local type in a function or closure the binary does not name
    struct RecognitionKey {
        let label: VisualUnderstanding.VUStreamingGallery.Label
        let isConfirmed: Swift.Bool
        let hasExpiration: Swift.Bool
    }
    var videoIndex: VisualUnderstanding.VUStreamingIndex
    var keyIndex: VisualUnderstanding.VUStreamingIndex
    var observationTimestamp: [Swift.Int : Swift.Double]
    var observationTrackMap: [Swift.Int : VisualUnderstanding.VUStreamingGallery.Label]
    var maxIdentities: Swift.Int
    var maxObservationsPerIdentity: Swift.Int
    var minObservationsPerEntity: Swift.Int
    var maxClustersPerTrack: Swift.Int
    var isStreamingEnabled: Swift.Bool
    var autoRefresh: Swift.Bool
    let minFaceprintConfidence: Swift.Float
    let minTorsoprintConfidence: Swift.Float
    let minAnimalprintConfidence: Swift.Float
    let matchScore: Swift.Float
    var countToUpdate: Swift.Int
    var clusteringThreshold: Swift.Float?
    var pruningType: VisualUnderstanding.VUStreamingGallery.PruningType
    let logger: os.Logger
    let signposter: os.OSSignposter

    var observationsByEntity: [VisualUnderstanding.VUStreamingGallery.Label : [Swift.Int]] {
        get
    }
    init() throws
    init(with: VisualUnderstanding.VUStreamingGallery.Configuration) throws
    init(with: VisualUnderstanding.VUStreamingGallery.Configuration, dimensions: Swift.Int, dataType: VisualUnderstanding.VUStreamingGallery.DataType) throws
    init(maximumIdentities: Swift.Int, maximumObservationsPerIdentity: Swift.Int, autoUpdate: Swift.Bool, isStreamingEnabled: Swift.Bool) throws
    func reset() throws
    func add(observations: [__C.VNObservation], observationIdentifiers: [Swift.Int]?, trackIdentifiers: [Swift.Int]?, context: VisualUnderstanding.VUGallery.Context?) throws -> [Swift.Int]
    func add(observation: __C.VNObservation, observationIdentifier: Swift.Int?, trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label?, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Swift.Bool) throws -> Swift.Int?
    func add(observation: __C.VNObservation, observationIdentifier: Swift.Int?, trackIdentifier: inout VisualUnderstanding.VUStreamingGallery.Label, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Swift.Bool) throws -> Swift.Int?
    func add(observation: VisualUnderstanding.VUObservation, for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> Swift.Int?
    func add(observations: [VisualUnderstanding.VUObservation], for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> [Swift.Int?]
    func tag(_: Swift.Int, with: VisualUnderstanding.VUStreamingGallery.Tag) throws
    func update(maxKeyFacesPerCluster: Swift.Int, sortBy: [Swift.String]) throws -> [VisualUnderstanding.VUStreamingGallery.ClusterResult]?
    func tag(observationIdentifier: Swift.Int, tag: Foundation.UUID, tagType: VisualUnderstanding.VUGalleryTransaction.TagType) throws
    func recognize(observation: __C.VNObservation, context: VisualUnderstanding.VUGallery.Context?) throws -> [VisualUnderstanding.VUStreamingGallery.RecognitionResult]?
    func recognize(observation: __C.VNObservation, k: Swift.Int, confirmedOnly: Swift.Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
    func recognize(observation: __C.VNObservation, context: VisualUnderstanding.VUGallery.Context?, k: Swift.Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
    func recognize(observation: __C.VNObservation, k: Swift.Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
    func recognize(observation: VisualUnderstanding.VUObservation, k: Swift.Int, confirmedOnly: Swift.Bool, exhaustive: Swift.Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
    func recognize(observation: VisualUnderstanding.VUObservation, k: Swift.Int, confirmedOnly: Swift.Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]?
    func autoUpdate() throws
    func update() throws
    func legacyPruning() throws
    func clusterBasedPruning() throws
    var observationsCount: Swift.Int {
        get
    }
    var torsoObservationsCount: Swift.Int {
        get
    }
    func trackID(identifier: Swift.Int) throws -> VisualUnderstanding.VUStreamingGallery.Label?
    func observations(for: VisualUnderstanding.VUStreamingGallery.Label) -> [Swift.Int]
    func entities() -> [VisualUnderstanding.VUStreamingGallery.Label]
    func remove(trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label) throws
    func needUpdate() -> Swift.Bool
    func remove(identifiers: [Swift.Int]) throws
    func removeTorsoObservations()
    func removeTorsoObservations(for: [Swift.Int])
    func expirationEligiblePersonObservations() -> [(Swift.Int, Foundation.Date)]
    func expirationEligibleTorsoObservations() -> [(Swift.Int, Foundation.Date)]
    func expirationEligibleObservationsByEntity() -> [VisualUnderstanding.VUStreamingGallery.Label : [(Swift.Int, Foundation.Date)]]
    func extendExpiration(for: Swift.Int, embeddingExpiration: Foundation.Date?, contextualEmbeddingExpiration: Foundation.Date?) throws

    init(from: Foundation.URL?, with: VisualUnderstanding.VUStreamingGallery.Configuration?) throws

    deinit
}