1. Adding scanning functionality to your app.
Adding scanning functionality to your app is super convenient as everything can be done within the same app. This means you don’t have to export your reference objects and then add them to your app with every addition — it all happens in the same app.
Here is the basic flow:
- Initiate a ARObjectScanningConfiguration to enable high-fidelity data collection that is needed for object scanning.
- After scanning an object in a session with the above configuration,call createReferenceObject (transform:center:extent:completionHandler:) to specify the origin and location of the object, the centre of the bounding box, and then the width, height, and depth to extract starting at the centre of the bounding box.