Who is this for?

This Learning Path is for Android and machine learning developers who want to run monocular depth estimation locally on an Arm-based Android phone.

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 the Depth Anything V2 Small INT8 ExecuTorch model from the Arm AI Portal.
  • Inspect the model's fixed image preprocessing and relative-disparity output.
  • Validate input-dependent relative-disparity maps across two images.

Prerequisites

Before starting, you'll need the following prerequisites:

  • A macOS, x86_64 Linux, or Windows development computer with Git, Python 3 with venv and pip, and JDK 17 or later
  • An Arm-based Android phone running Android 9 or later
  • A Hugging Face account if the model repository requires authentication
  • A data-capable USB cable
  • Homebrew on macOS, curl on Linux, or winget on Windows to install Android CLI
  • Network access for the first Gradle build and model download
  • 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 prepare Android command-line tools, connect an Arm-based Android phone, and build and install an application called Image Analysis. You’ll then download the Arm-optimized Depth Anything V2 Small INT8 ExecuTorch model and copy it into application-private storage. Finally, you’ll run on-device depth estimation and inspect the adapter’s preprocessing and tensor contract. By comparing relative-disparity maps from two images, you’ll confirm that the output changes with the input.