I know that Swift code cannot access to camera image on VisionOS, but I'd like to use QR code / AR or image markers in my app.
Would it be possible to do that with Vision Pro?
If so, sample code or document would be really appreciated.
I know that Swift code cannot access to camera image on VisionOS, but I'd like to use QR code / AR or image markers in my app.
Would it be possible to do that with Vision Pro?
If so, sample code or document would be really appreciated.
You can construct an AnchorEntity targeting an image in the app's bundle: https://developer.apple.com/documentation/realitykit/anchorentity/init(_:trackingmode:)
Tracking Preregistered Images in VisionOS: https://developer.apple.com/documentation/visionos/tracking-images-in-3d-space