BatchVerificationQuery
public struct BatchVerificationQuery : Encodable
Request to conduct verification of descriptors list similarity.
Each descriptor from the references
list is compared to each descriptor from the candidates
list.
-
Descriptor.
See moreDeclaration
Swift
public struct Descriptor : Encodable
-
Initializer. BatchVerificationQuery contains first descriptor (reference) and other (candidates). First descriptor is matching with others and needs to pass in BatchVerificationQuery initializer as array (e.g. [firstDescriptor]). While adding all descriptors to BatchVerificationQuery unique identifier for each descriptor you should define manually (e.g. using UUID).
Declaration
Swift
public init(references: [Descriptor], candidates: [Descriptor])
Parameters
references
A list of descriptors to be compared against the descriptors from the candidates list.
candidates
A list of candidate descriptors.