Abstract:

This article describes a case study on building a mobile app that recognizes objects using machine learning. We have used Tensorflow Lite. Tensorflow Lite machine learning (ML) is an open source library provided by Google. This article mentions a brief on Tensorflow Lite.

Object Identification in Mobile app (Creative visualization)

Tensorflow Lite:

Using Tensorflow, Implement the Machine Learning (ML) or Artificial Intelligence(AI)-powered applications running on mobile phones. ML adds great power to our mobile application. TensorFlow Lite is a lightweight ML library for mobile and embedded devices. TensorFlow works well on large devices and TensorFlow Lite works really well on small devices, as that it’s easier, faster and smaller to work on mobile devices.

Machine Learning:

Artificial Intelligence is the science for making smart things like building an autonomous driving car or having a computer drawing conclusions based on historical data. It is important to understand that the vision of AI is in ML. ML is a technology where computer can train itself.

Neural Network:

Neural network is one of the algorithms in Machine learning. One of the use cases of neural networks is, if we have a bunch of images, we can train the neural network to classify which one is the image of a cat or the image of a dog. There are many possible use cases for the combination between ML and mobile applications, starting from image recognition.

Machine Learning Model Inside our Mobile Applications:

Instead of sending all raw images to the server, we can extract the meaning from the raw data, then send it to the server, so we can get much faster responses from cloud services.

This ML model runs inside our mobile application so that mobile application can recognize what kind of object is in each image. So that we can just send the label, such as a cat, dog or human face, to the server. That can reduce the traffic to server. We are going to use Tensorflow Lite in mobile app.

TensorFlow Lite Architecture:

DEMO: Build an application that is powered by machine learning — Tensorflow Lite in Android

Conclusion:

Detection of objects like a human eye has not been achieved with high accuracy using cameras, i.e., cameras cannot replace a human eye. Detection refers to identification of an object or a person by training a model by itself. However, we do have great potential in MI. This was just a simple demonstration for MI. We could create a robot that changes its behavior and its way of talking according to who’s in front of it (a child/ an adult). We can use deep learning algorithm to identify skin cancer, or detect defective pieces and automatically stop a production line as soon as possible.