Structure

VNAnimalIdentifier

An animal identifier string.

Declaration

struct VNAnimalIdentifier

Topics

Initializers

init(rawValue: String)

Creates a new instance with the specified raw value.

Type Properties

static let cat: VNAnimalIdentifier

An animal identifier for cats.

static let dog: VNAnimalIdentifier

An animal identifier for dogs.

Relationships

See Also

Finding Known Identifiers

class func knownAnimalIdentifiers(forRevision: Int) -> [VNAnimalIdentifier]

Returns a list of animal identifiers the recognition algorithm supports for the specified revision.

let VNRecognizeAnimalsRequestRevision1: Int

A constant specifying revision 1 of the animals request.