Capturing data 

If you haven't done it already, download the latest code from the accompanying repository: https://github.com/packtpublishing/machine-learning-with-core-ml. Once downloaded, navigate to the directory Chapter3/Start/ObjectRecognition/ and open the project ObjectRecognition.xcodeproj. Once loaded, you will see the skeleton project for this chapter, as shown in the following screenshot:

To help you navigate around the project, here is a list of core files/classes and their main functions: 

  • VideoCapture will be responsible for the management and handling of the camera, including capturing video frames 
  • CaptureVideoPreviewView.swift ...

Get Machine Learning with Core ML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.