init(cgimage:physicalSize:orientation:)
Creates a reference image from a Core Graphics image.
Declaration
init(cgimage: CGImage, physicalSize: CGSize, orientation: CGImagePropertyOrientation = .up)Parameters
- cgimage:
The image to use as a reference during tracking.
- physicalSize:
The size of the image in meters.
- orientation:
The orientation of the image asset.