In this recipe, we'll take the app we just built and incorporate the CoreML framework in order to detect objects in our images.
We'll also take a look at the generated CoreML models available for us to use and download directly from Apple's Developer portal.
Getting ready
For this recipe, you'll need the latest version of Xcode available from the Mac App Store.
Next, head on over to the Apple Developer portal at the following address: https://developer.apple.com/machine-learning/models/.
Here, you will find out a little bit more about the models available for us to download and use in our Xcode project.
You'll notice there are options for image models and text models. For this recipe, we're going to be using image models, specifically one called Resnet50, which uses a residual neural network that attempts to identify and classify what it perceives to be the dominant object in an image.