I would really like some guidance on combining Apple's new Vision API with ARKit in a way that enables object recognition. This would not need to track the moving object, just recognize it stable in 3d space for the AR experience to react accordingly.
I know this type of experience is available in services like Vuforia
or Wikitude
, but I would like to try it with only native Apple APIs.
You don't necessarily need to use Vision framework itself inside your project, because ARKit is already has this feature. All you need is to activate a detectionObjects instance property that you can use right from iOS 12:
Let's see what Apple documentation says about it:
Here's a working code (as simple as that) :
And, of course, insert an extension with renderer() method: