VisionFrameWriter

class VisionFrameWriter : NSObject, AZVisionObjectHandle
  • Writes a single frame of image data to the underlying FrameSource.

    Declaration

    Swift

    func write(_ data: Data) throws

    Parameters

    data

    The image buffer.

    outError

    error information.

  • Writes a single frame of image data to the underlying FrameSource.

    Declaration

    Swift

    func write(_ frame: VisionFrame) throws

    Parameters

    frame

    The AZVisionFrame object containing data.

    outError

    error information.