SwiftclassVisualUnderstanding
VUStreamingGallery
class VisualUnderstanding.VUStreamingGallery
Members 59
- deinit
deinit - field
var autoRefresh: Bool+0x51 - field
var clusteringThreshold: Float?+0x70 - field
var countToUpdate: Int+0x68 - field
var isStreamingEnabled: Bool+0x50 - field
var keyIndex: VisualUnderstanding.VUStreamingIndex+0x18 - field
let logger: os.Logger - field
let matchScore: Float+0x60 - field
var maxClustersPerTrack: Int+0x48 - field
var maxIdentities: Int+0x30 - field
var maxObservationsPerIdentity: Int+0x38 - field
let minAnimalprintConfidence: Float+0x5c - field
let minFaceprintConfidence: Float+0x54 - field
var minObservationsPerEntity: Int+0x40 - field
let minTorsoprintConfidence: Float+0x58 - field
var observationTimestamp: [Int : Double]+0x20 - field
var observationTrackMap: [Int : VisualUnderstanding.VUStreamingGallery.Label]+0x28 - field
var pruningType: VisualUnderstanding.VUStreamingGallery.PruningType+0x75 - field
let signposter: os.OSSignposter - field
var videoIndex: VisualUnderstanding.VUStreamingIndex+0x10 - func
add(observations: [VNObservation], observationIdentifiers: [Int]?, trackIdentifiers: [Int]?, context: VisualUnderstanding.VUGallery.Context?) throws -> [Int] - func
add(observation: VNObservation, observationIdentifier: Int?, trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label?, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Bool) throws -> Int? - func
add(observation: VNObservation, observationIdentifier: Int?, trackIdentifier: inout VisualUnderstanding.VUStreamingGallery.Label, context: VisualUnderstanding.VUGallery.Context?, ignoreLowConfidence: Bool) throws -> Int? - func
add(observation: VisualUnderstanding.VUObservation, for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> Int? - func
add(observations: [VisualUnderstanding.VUObservation], for: VisualUnderstanding.VUStreamingGallery.Tag?) throws -> [Int?] - func
autoUpdate() throws -> () - func
clusterBasedPruning() throws -> () - func
entities() -> [VisualUnderstanding.VUStreamingGallery.Label] - func
expirationEligibleObservationsByEntity() -> [VisualUnderstanding.VUStreamingGallery.Label : [(Int, Foundation.Date)]] - func
expirationEligiblePersonObservations() -> [(Int, Foundation.Date)] - func
expirationEligibleTorsoObservations() -> [(Int, Foundation.Date)] - func
extendExpiration(for: Int, embeddingExpiration: Foundation.Date?, contextualEmbeddingExpiration: Foundation.Date?) throws -> () - func
legacyPruning() throws -> () - func
needUpdate() -> Bool - func
observations(for: VisualUnderstanding.VUStreamingGallery.Label) -> [Int] - func
recognize(observation: VNObservation, context: VisualUnderstanding.VUGallery.Context?) throws -> [VisualUnderstanding.VUStreamingGallery.RecognitionResult]? - func
recognize(observation: VNObservation, k: Int, confirmedOnly: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]? - func
recognize(observation: VNObservation, context: VisualUnderstanding.VUGallery.Context?, k: Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]? - func
recognize(observation: VNObservation, k: Int) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]? - func
recognize(observation: VisualUnderstanding.VUObservation, k: Int, confirmedOnly: Bool, exhaustive: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]? - func
recognize(observation: VisualUnderstanding.VUObservation, k: Int, confirmedOnly: Bool) throws -> [VisualUnderstanding.VUStreamingGallery.Recognition]? - func
remove(trackIdentifier: VisualUnderstanding.VUStreamingGallery.Label) throws -> () - func
remove(identifiers: [Int]) throws -> () - func
removeTorsoObservations() -> () - func
removeTorsoObservations(for: [Int]) -> () - func
reset() throws -> () - func
tag(_: Int, with: VisualUnderstanding.VUStreamingGallery.Tag) throws -> () - func
tag(observationIdentifier: Int, tag: Foundation.UUID, tagType: VisualUnderstanding.VUGalleryTransaction.TagType) throws -> () - func
trackID(identifier: Int) throws -> VisualUnderstanding.VUStreamingGallery.Label? - func
update(maxKeyFacesPerCluster: Int, sortBy: [String]) throws -> [VisualUnderstanding.VUStreamingGallery.ClusterResult]? - func
update() throws -> () - init
VisualUnderstanding.VUStreamingGallery.__allocating_init(maximumIdentities: Int, maximumObservationsPerIdentity: Int, autoUpdate: Bool, isStreamingEnabled: Bool) throws -> VisualUnderstanding.VUStreamingGallery - init
VisualUnderstanding.VUStreamingGallery.__allocating_init(from: Foundation.URL?, with: VisualUnderstanding.VUStreamingGallery.Configuration?) throws -> VisualUnderstanding.VUStreamingGallery - init
VisualUnderstanding.VUStreamingGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration, dimensions: Int, dataType: VisualUnderstanding.VUStreamingGallery.DataType) throws -> VisualUnderstanding.VUStreamingGallery - init
VisualUnderstanding.VUStreamingGallery.__allocating_init(with: VisualUnderstanding.VUStreamingGallery.Configuration) throws -> VisualUnderstanding.VUStreamingGallery - init
VisualUnderstanding.VUStreamingGallery.__allocating_init() throws -> VisualUnderstanding.VUStreamingGallery - var
var observationsByEntity: [VisualUnderstanding.VUStreamingGallery.Label : [Int]] { get } - var
var observationsCount: Int { get } - var
var torsoObservationsCount: Int { get }
Header
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 }