Skip to content

tdcolvin/MediaPipeDemoAndroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaPipe Demo on Android

Example of using MediaPipe for:

  • Multi-modal LLM inference (Gemma 3n)
  • Image classification (efficientnet-lite)
  • Hand gesture recognition via streaming video
  • Image-to-image generation

Everything works on-device.

Requirements

This uses Gemma 3n, the 4B parameter version. You probably need a phone with 8GB RAM.

Setup

To make this work:

  1. Download Gemma 3n here: gemma-3n-E4B-it-int4.task
  2. Copy it to your device using ADB: adb push gemma-3n-E4B-it-int4.task /data/local/tmp/llm/gemma3_4b.task

That location is specified in the init of TerriblePoemViewModel.

Help

Open an issue if you have trouble. If you want to engage me to write something like this for your business, then I'm available as an Android freelancer or through my agency Apptaura.

About me

Hello! I'm Tom Colvin, freelance Android app developer based in London.

About

Example of using MediaPipe for multi-modal LLM inference (Gemma 3n), image classification (efficientnet-lite) and streaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages