Who is this for?

This Learning Path is for Android and machine learning developers who want to run optimized object detection locally on an Arm-based Android device. It demonsytrates ExecuTorch and LiteRT adapters that select the runtime, preprocessing, precision settings, and output decoding required by supported YOLO models.

What will you learn?

After completing this Learning Path, you'll be able to perform the following tasks:

  • Prepare the Android command-line tools and connect an Arm-based Android phone
  • Download and run a supported object-detection model from the Arm AI Portal
  • Explain how the supplied adapters select runtime-specific preprocessing, precision settings, and output decoding for supported YOLO models
  • Register another compatible detector or optionally generate and validate a separate adapter

Prerequisites

Before starting, you'll need the following prerequisites:

  • A macOS, Linux, or Windows development machine
  • Git installed on the development machine
  • Python 3 on the machine with the venv and pip modules
  • Java Development Kit (JDK) 17 or later, available on your machine’s PATH
  • A tool for downloading files and a tool for extracting ZIP archives on the machine
  • An Arm-based Android phone with Android 9 or later with enough free storage for the application and model files
  • A Hugging Face account with access to the model repositories
  • A data-capable USB cable
  • Network access for the first Gradle build and model downloads
  • Basic familiarity with terminal commands and Android applications

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll build and run an application called Scene Detector on an Arm-based Android phone. First, you’ll install the Android command-line tools, connect a device with adb, and build the application with Gradle. Next, you’ll start with the Arm AI Portal YOLOv8s model in ExecuTorch. You’ll analyze a saved image and a live camera feed, then try a LiteRT model and learn how to register a compatible detector or create and validate an adapter for an unsupported model.