Book Image

Machine Learning for Mobile

By : Revathi Gopalakrishnan, Avinash Venkateswarlu
Book Image

Machine Learning for Mobile

By: Revathi Gopalakrishnan, Avinash Venkateswarlu

Overview of this book

Machine learning presents an entirely unique opportunity in software development. It allows smartphones to produce an enormous amount of useful data that can be mined, analyzed, and used to make predictions. This book will help you master machine learning for mobile devices with easy-to-follow, practical examples. You will begin with an introduction to machine learning on mobiles and grasp the fundamentals so you become well-acquainted with the subject. You will master supervised and unsupervised learning algorithms, and then learn how to build a machine learning model using mobile-based libraries such as Core ML, TensorFlow Lite, ML Kit, and Fritz on Android and iOS platforms. In doing so, you will also tackle some common and not-so-common machine learning problems with regard to Computer Vision and other real-world domains. By the end of this book, you will have explored machine learning in depth and implemented on-device machine learning with ease, thereby gaining a thorough understanding of how to run, create, and build real-time machine-learning applications on your mobile devices.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Question and Answers
Index

Introduction to Fritz


Fritz is a free end-to-end platform that enables us to create machine learning-powered mobile applications easily. It is a platform that enables on-device machine learning, that is, it helps to create mobile machine learning applications that can completely work on mobile devices. It supports both iOS and Android platforms.

Prebuilt ML models

Fritz provides built-in ML models that can be directly used in mobile applications. Here are the two important models that Fritz supports:

  • Object detection: You can identify objects of interest in an image or each frame of a live video. This helps you to know what objects are in an image, and where they are within the image. The object-detection feature makes predictions completely on-device and requires no internet connection.
  • Image labeling: You can identify the contents of an image or each frame of live video. This also works completely offline and requires no internet connection.

Ability to use custom models

Fritz provides us with...