Chapters

Hide chapters

Machine Learning by Tutorials

Second Edition · iOS 13 · Swift 5.1 · Xcode 11

Before You Begin

Section 0: 3 chapters
Show chapters Hide chapters

Section I: Machine Learning with Images

Section 1: 10 chapters
Show chapters Hide chapters

Snacks Dataset

The images used for training the snacks models are taken from the Google Open Images dataset at https://storage.googleapis.com/openimages/web/index.html

See the file credits.csv for the names of the authors, the original image URLs, and the licensing terms for each photo.

App Icons

The camera icon was made by Daniel Bruce and is licensed under Creative Commons CC BY 3.0. Downloaded from https://www.flaticon.com/authors/daniel-bruce

The picture frame icon was made by Dave Gandy and is licensed under Creative Commons, CC BY 3.0. Downloaded from https://www.flaticon.com/authors/dave-gandy

Chapter 1

Pineapple photo by rrei320

Muffins photo by vania

I’m a good dog photo by Greg Heo

Waffles photo by Shanna S

The boy is holding a baseball bat

Chapter 2

Cat photo by Alan Loda

Dog photo by Patrick Vince

Peeled banana photo by Slipp D. Thompson

Hotdog photo by Alexis Lamster

Ambiguous salad photo by Joselu Blanco

M&M KitKat cake photo by Janet

Oranges photo by bizmac

Pretzels photo by Allagash Brewing

Apples photo by Jitze Couperus

Waffles photo by Arnold Gatilao

Castle photo by Tyler Brenot

Hotdogs and apples photo by Neeta Lind

Pineapple photo by rrei320

Cookie photo by Stacy Spensley

Apples and carrots photo by Breville USA

Chapter 3

Doughnut photo by Jessica Spengler

Ice cream photo by The MisAdventures of Maja

Pineapple pieces photo by leighklotz

Salad photo by rusvaplauke

Waffles photo by Shanna S

Pineapple photo by rrei320

Ice cream guy photo by Michelle Tribe

Muffins photo by vania

Chapter 4

(All the photos in this chapter are part of the dataset.)

Chapter 5

Green apples photo by Alan Levine

Chapter 6

Muffins photo by N i c o l a

Apples photo by Kirinohana

Chapter 7

(All the photos in this chapter are part of the dataset.)

Chapter 8

Banana guy photo by zeevveez

Salad or strawberries image photo by Steven Depolo

Chapter 9

Cat and dog photo

Chocolate cake photo by Calgary Reviews

Orange photo by Emiliano Horcada

Salad photo by Tatsuo Yamashita

Hot dog photo by scott feldstein

Green apples photo by Alan Levine

Banana and salad photo by Maurina Rara

Chapter 10

Muffins photo by N i c o l a

Cat and dog photo

Fruit photo by Robert Scoble

Motorcycle photo

Tropical island image by Ky0n Cheng

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.
© 2026 Kodeco Inc.