Contents

init(pixelBuffer:physicalSize:orientation:)

Creates a reference image from a pixel buffer.

Declaration

init(pixelBuffer: CVPixelBuffer, physicalSize: CGSize, orientation: CGImagePropertyOrientation = .up)

Parameters

  • pixelBuffer:

    The image to use as a reference during tracking.

  • physicalSize:

    The size of the image in meters.

  • orientation:

    The orientation of the image asset.

See Also

Creating a reference image