VisionFrame

class VisionFrame : NSObject, AZVisionObjectHandle

Defines the result of face analysis. Contains also classes for error details

  • The collection of properties and their values defined for this AZVisionFrame.

    Declaration

    Swift

    var properties: VisionPropertyCollection? { get }
  • The frame data.

    Declaration

    Swift

    var data: Data? { get }
  • Create a Frame that wraps a data buffer owned by the caller.

    Declaration

    Swift

    init(dataNoCopy data: Data) throws

    Parameters

    data

    the data buffer.

    outError

    error information.

    Return Value

    an instance of AZVisionFrame.

  • Create a Frame that wraps a data buffer owned by the caller.

    Declaration

    Swift

    init(data: Data) throws

    Parameters

    data

    the data buffer.

    outError

    error information.

    Return Value

    an instance of AZVisionFrame.