A scanned Ikea mug, tracked in Desk & Surroundings and then in Windows & Crown, recorded on Apple Vision ProWatch on YouTube

What Real Objects does

Once Locus recognizes your object, it follows the object as you move it.

Real Objects is experimental. Locus only recognizes the exact object you trained, not other objects that look like it. In our own test, a patterned mug was found and followed on the desk, but tracking was lost when the mug was tilted. Objects with a printed or painted pattern work best. A plain white, glossy, or clear mug is much harder to recognize.

What you need

1 · Scan

Scan the object with your iPhone

  1. Choose the object you will actually use. It must be rigid and keep its shape. A visible pattern or print helps a lot.
  2. Put it on a plain, non-shiny surface in even light. Avoid strong reflections, direct sun, and anything moving in the background.
  3. Open Reality Composer, start an Object Capture scan, and follow its guide around the object. Circle it slowly at a low, a middle, and a high height. If the app offers to flip the object, capture the bottom too.
  4. Let the app build the model, then check its size. Measure the real object’s height and width with a ruler and compare them with the model, for example in Quick Look on your Mac. If they differ by more than a few millimeters, scan again. A model at the wrong size tracks poorly.
  5. Save the USDZ model to iCloud Drive, for example in a folder named Locus, so your Mac can open it.

The scan does not have to be perfect. The mug in the video above had visible lumps and an uneven rim, and it still tracked. In Windows & Crown you see that model, so a cleaner scan looks better there. Reality Composer can also export the scan’s photos, so you can build a more detailed model from them on your Mac. See Apple’s guide to capturing photos for Object Capture.

2 · Train

Train a reference object in Create ML

  1. On your Mac, open Xcode → Open Developer Tool → Create ML.
  2. Create a new project with the Object Tracking template.
  3. Add your USDZ model as the source. Check that the dimensions Create ML shows match your object.
  4. Choose the viewing angles. Choose Upright for a mug that stays upright on your desk. If you often tilt the object, try All Angles; training takes longer, and we have not tested whether it keeps tilted objects tracked.
  5. Start training and leave the Mac plugged in and awake. Standard training took about 5½ hours on an M4 Pro Mac mini. If Create ML offers an extended mode, it tracks best but takes several times longer and needs at least 43 GB free on your Mac’s startup disk.
  6. When training finishes, export the .referenceobject file and save it to the same iCloud Drive folder.
A finished training run doesn’t guarantee recognition. Try the object where you use it before you rely on it.

Prefer the command line? The same steps are scriptable with our free Mac tools — check a model’s real size, correct its scale, rebuild a detailed model from your iPhone photos, and run Create ML training unattended with resume. Find them in the Real Objects tools on GitHub.

3 · Import

Import it on Apple Vision Pro

  1. In Locus, open Settings → Workspace and turn on Real Objects under Experimental. Real Objects then appears in the Settings sidebar.
  2. Open Real Objects and choose Import a Real Object.
  3. Choose File…, then open iCloud Drive and pick your .referenceobject file. If the file hasn’t downloaded to Apple Vision Pro yet, wait for iCloud to finish.
  4. Name it and choose Add to Real Objects. It becomes active right away. Up to 10 Real Objects can be active.
  5. Make sure Reveal Real Objects is on. The first time, allow World Sensing when visionOS asks; Locus needs it to find objects. You can also turn it on later in Setup & Permissions.
  6. Enter a Virtual Space and put the object on your desk where you can see it. Give Locus a moment to find it.

To remove an object, choose the ⋯ button on its card, then Remove from Locus. Locus deletes its own copy; the file in iCloud Drive isn’t touched.

If Locus doesn’t find your object

Tell us what worked for you, and what didn’t, on r/EnterLocus.