Android: Recognize text and facial features with ML Kit⚡️

ML Kit is a mobile SDK that brings Google's machine learning expertise to Android and iOS apps in a powerful yet easy-to-use package. Whether you're new or experienced in machine learning, you can easily implement the functionality you need in just a few lines of code. There's no need to have deep knowledge of neural networks or model optimization to get started.

If you run into any issues (code bugs, grammatical errors, unclear wording, etc.) as you work through this project, please report the issue via the Report a mistake link in the lower left corner of the project.

How does it work?

ML Kit makes it easy to apply ML techniques in your apps by bringing Google's ML technologies, such as the Mobile Vision, and TensorFlow Lite, together in a single SDK. Whether you need the real-time capabilities of Mobile Vision's on-device models, or the flexibility of custom TensorFlow Lite models, ML Kit has you covered.

This project will walk you through creating your own Android app that can automatically detect text and facial features in an image.

What you will build

In this project, you're going to build an Android app with ML Kit. Your app will:

  • Use the ML Kit Text Recognition API to detect text in images
  • Use the ML Kit Face Contour API to identify facial features in images
  • What you'll learn

  • How to use the ML Kit SDK to easily add advanced Machine Learning capabilities such as text recognition and facial feature detection
  • What you'll need

  • A recent version of Android Studio (v3.0+)
  • Android Studio Emulator or a physical Android device
  • The sample code
  • Basic knowledge of Android development in Java
  • Basic understanding of machine learning models
  • This project is focused on ML Kit. Non-relevant concepts and code blocks are glossed over and are provided for you to simply copy and paste.

  • Do you like this type of projects?

    15 mins remaining