Code Monkey home page Code Monkey logo

airdrawing_with_mediapipe_android's Introduction

Air Drawing with MediaPipe Hands in Android

Using hand landmark recognition to draw on the screen.

The app uses MediaPipe's Hand Landmark Detection to detect specific landmarks on the user's hand and uses them to draw strokes on the screen.

The app's UI is written with Jetpack Compose and uses CameraX for displaying the camera preview.

App Demo

Watch the video on YouTube *The demo is recorded on an Android 12 device with a 32-bit Samsung Exynos 850 processor (4GB RAM)

Build the demo using Android Studio

Prerequisites

  • The Android Studio IDE. This sample has been tested on Android Studio Dolphin.

  • A physical Android device with a minimum OS version of SDK 24 (Android 7.0 - Nougat) with developer mode enabled. The process of enabling developer mode may vary by device.

Building

  • Clone the repository on your system with,
git clone --depth=1 https://github.com/shubham0204/AirDrawing_with_Mediapipe_Android
  • Open the resulting folder in Android Studio. You may be asked if you trust the project. Select Trust.

  • If it asks you to do a Gradle Sync, click OK.

  • With your Android device connected to your computer and developer mode enabled, click on the green Run arrow in Android Studio.

Models used

Downloading, extraction, and placing the models into the assets folder is managed automatically by the app/download_tasks.gradle file.

airdrawing_with_mediapipe_android's People

Contributors

shubham0204 avatar swarajgosavi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.