# pytorch/android-demo-app

PyTorch android examples of usage in applications

Repository: https://github.com/pytorch/android-demo-app
Canonical: https://ross.abutalabs.com/products/android-demo-app
Language: Java
License Family: other
Archived: true
Last push: 2024-08-27T23:45:06+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2532, "days_push": 736, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1557, forks 623 (observed 2026-08-28T04:05:03.268355+00:00)

## What it is
A collection of Android demo apps showcasing PyTorch Mobile for on-device inference, including image classification, object detection, segmentation, machine translation, and question answering examples. PyTorch Mobile is no longer actively supported, so the repository serves mainly as a reference for legacy mobile ML usage.

## Use cases
- run image classification on android
- detect objects from camera on android
- segment images on device
- run a question answering model on android
- translate text offline on android
- learn pytorch mobile api examples

## When to choose
- you need working example code for on-device ML on Android with PyTorch
- you are maintaining a legacy PyTorch Mobile Android app
- you want reference implementations of vision and NLP models on Android

## When to avoid
- you are starting a new Android ML project - use ExecuTorch instead
- you need actively maintained or supported code
- you target iOS or platforms other than Android

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: machine-learning, computer-vision, nlp, image-processing
- domain: machine-learning, mobile-development, computer-vision
- platform: jvm
- tags: pytorch-mobile, on-device-inference, demo-apps, android-examples, deprecated, natural-language-processing, android, mobile

## Member repositories
- pytorch/android-demo-app (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.268355+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:57.871357+00:00, confidence not recorded.
  - readme: https://github.com/pytorch/android-demo-app (fetched 2026-08-28T04:05:03.268355+00:00, sha 1ab33b2b28f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
