Building the photo effects application
In this section, we will be looking briefly at the application and highlighting some of the interesting pieces of the code, omitting most of it as it has already been discussed in previous chapters. As mentioned in the introduction, this example is to provide a case study for a later section, where we will discuss some broad strategies to use when building intelligent interfaces and services.
If you haven't already, pull down the latest code from the accompanying repository at https://github.com/packtpublishing/machine-learning-with-core-ml. Once downloaded, navigate to the Chapter9/Start/
directory and open the project ActionShot.xcodeproj
.
As mentioned in the previous section, the example for this chapter is an photo effects application. In it, the user is able to take an action shot, have the application extract each person from the frames, and compose them onto the final frame, as illustrated in the following figure:
The application consists of two...