The code bundle for this chapter contains an app called ImageAnalyzer. This app uses an image picker to allow a user to select an image from their photo library to use it as an input for the image classifier you will implement. Open the project and explore it for a little bit to see what it does and how it works. Use the starter project if you want to follow along with the rest of this section.
To add an image classifier, you need to have a CoreML model that can classify images. On Apple's machine learning website (https://developer.apple.com/machine-learning/build-run-models/) there are several models available that can do image classification. An excellent lightweight model you can use is the MobileNet