Skip to content

virtualramblas/streamlit-mediapipe-hands-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

streamlit-mediapipe-hands-tracking

A Streamlit app for Google MediaPipe Hands.

App Demo Image

MediaPipe is a suite of cross-platform, customizable ML solutions for live and streaming media. One of the provided solutions is an high-fidelity hand and finger tracking.
This Streamlit web app allows hands tracking in static images. Mediapipe supports also video and live hands-tracking, but these features aren't yet covered by this demo app. Mediapipe hands tracking can be configured through this app UI through the following params:

  • Max number of hands to track: Mediapipe can track up to 4 hands in a single image or frame. Default for this app is set to 2.
  • Minimum detection confidence. Default is set to 50%.
  • Show/Hide Mediapipe classification results (index, score and label in JSON format). Default is set to False.

Setup for running the app

Anaconda and Python 3.7+ are required.

  • Clone this repo.
  • From the root directory of the project, create a conda virtual environment: conda env create -f environment.yml
  • Activate the newly created virtual environment: conda activate streamlit-mediapipe-hands
  • Run the app: streamlit run app.py
  • Open a web browser and go to http://localhost:8501

About

A Streamlit app for the Google's MediaPipe Hands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages