#Python – Hand Gesture Recognition 🤚🖐️🤙 using mediapipe

Buy Me A Coffee

Hi !

It’s been a while since I shared some code samples, so here we go today with a simple series based on MediaPipe. MediaPipe is a great Machine Learning platform with cross-platform and customizable ML solutions. And with Python support!

MediaPipe offers customizable Python solutions as a prebuilt Python package on PyPI, which can be installed simply with pip install mediapipe. It also provides tools for users to build their own solutions. Please see MediaPipe in Python for more info.

MediaPipe in Python

MediaPipe have a HandKeypoints Detector, which includes a Python implementation. The full sample runs as this one

It’s cool, and the trained model returns 2D coordinated for the following points:

mediapipe hand keypoints description
media

From here on, to start the test, 1st I needed to install the mediapipe python dependency:

pip install mediapipe

And I cloned this repo and run the app.py sample to get the output from the previous image.

python app.py

A lot of knows friends in the main app including camera processing with OpenCV. In next post, I’ll start to dissect and create a custom apps using this.

Happy coding!

Greetings

El Bruno


References


¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: