Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Machine Learning with Core ML

You're reading from  Machine Learning with Core ML

Product type Book
Published in Jun 2018
Publisher Packt
ISBN-13 9781788838290
Pages 378 pages
Edition 1st Edition
Languages
Toc

Table of Contents (16) Chapters close

Title Page
Packt Upsell
Contributors
Preface
1. Introduction to Machine Learning 2. Introduction to Apple Core ML 3. Recognizing Objects in the World 4. Emotion Detection with CNNs 5. Locating Objects in the World 6. Creating Art with Style Transfer 7. Assisted Drawing with CNNs 8. Assisted Drawing with RNNs 9. Object Segmentation Using CNNs 10. An Introduction to Create ML 1. Other Books You May Enjoy Index

Data to drive the desired effect – action shots


Now would be a good time to introduce the photo effect we want to create in this chapter. The effect, as I know it, is called an action shot. It's essentially a still photograph that shows someone (or something) in motion, probably best illustrated with an image - like the one shown here: 

 

Note

As previously mentioned, the model we used in this chapter performs binary (or single-class) classification. This simplification, using a binary classifier instead of a multi-class classifier, has been driven by the intended use that is just segmenting people from the background. Similar to any software project, you should strive for simplicity where you can.

To extract people, we need a model to learn how to recognize people and their associated pixels. For this, we need a dataset consisting of images of people and corresponding images with those pixels of the persons labeled—and lots of them. Unlike datasets for classification, datasets for object segmentation...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime