How do I integrate createML's image classification and swift?

Hey everyone, I am a beginner with developing and using Artificial Intelligence models. How do I integrate my createML image classification with swift. I already have have an ML model and I want to integrate it into a swiftUI app. If anyone could help, that would be great. Thank you, O3DP

Have you tried this sample app?

I'd also recommend try the Vision built-in image classification API first to see if it works out of box. If not, use your own model.

Thank you so much for your time. I have one question for you. Is it possible to run the code in the sample app with a live camera feed. What I mean by this is instead of capturing the photos and then analyzing them, I would like to analyze them in real time while seeing the camera feed. Thank you, Oliver

How do I integrate createML's image classification and swift?
 
 
Q