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 Projects for Mobile Applications

You're reading from  Machine Learning Projects for Mobile Applications

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781788994590
Pages 246 pages
Edition 1st Edition
Languages
Author (1):
Karthikeyan NG Karthikeyan NG
Profile icon Karthikeyan NG
Toc

Age, gender, and emotion prediction


This chapter is going to cover a complete iOS application using Core ML models to detect age, gender, and emotion from a photo taken using an iPhone camera or from a photo in a user's phone gallery.

Core ML enables developers to install and run pre-trained models on a device, and this has its own advantages. Since Core ML lives in the local device, it is not necessary to call a cloud service in order to get the prediction results. This improves the communication latency and also saves data bandwidth. The other crucial benefit of Core ML is privacy. You don't need to send your data to a third party in order to get the results picked for you. The main downside of having an offline model is that the model cannot be updated, and so it cannot be improved with newer inputs. Furthermore, a few models might increase memory footprints, since storage is limited on a mobile device. 

Note

With Core ML, when you import the ML model, Xcode will help you to do the rest...

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 €14.99/month. Cancel anytime