The Horses vs. Humans Classification App

Learn to integrate the MainActivity class, ImageClassifier class, TF Lite model, and the label file in a classification app.

We'll cover the following

In this lesson, we walk through the process of building an Android app that allows users to select an image from their device storage and classify it into pre-defined categories. To achieve this, we utilize a pretrained TF Lite model for image classification.

We divide the app development into two main classes:

  • MainActivity: This handles the user UI and user interactions.

  • ImageClassifier: This is responsible for performing the actual image classification using the TF Lite model.

Let’s get started.

Android app

Get hands-on with 1400+ tech skills courses.