Skip to content

pjb6510/protopie-connect-with-media-pipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect with media pipe

This project is Protopie Connect bridge app using Google MediaPipe.

This app is based NodeJS. You must use NodeJS.

Installation

npm install

Start

npm start
# default mode: finger-pointing

npm run finger-pointing
# run finger pointing mode (./pie/finger_pointing.pie)

npm run brightness-control
# run brightness control mode (./arduino/brightness_control.ino)

Finger Pointing Mode

Demo: https://www.youtube.com/watch?v=PmEk25tfTi8

  1. Run Protopie Connect.
  2. Run this app. (npm start or npm run finger-pointing)
  3. Access localhost:2918 with your web browser.
  4. Allow web browser to use camera.
  5. Click the New button in Protopie Connect.
  6. Select ./pie/finger_pointing.pie file.
  7. Open finger_pointing Pie with web browser or mobile player.
  8. Now you can see that the dot tracks your right hand index finger tip.

Brightness Control Mode

Demo: https://www.youtube.com/watch?v=kHPATFu6F3o

  1. Setup Arduino circuit.

circuit

If you don't have an Arduino, you can use pie file(brightness-control.pie) in Protopie Connect

  1. Upload Arduino Code. (./arduino/brightness_control.ino)
  2. Run Protopie Connect.
  3. Connect Arduino with Protopie Connect.
  4. Run this app. (npm run brightness-control)
  5. Access localhost:2918 with your web browser.
  6. Allow web browser to use camera.
  7. Make a hand gestures with your right hand like this.

  1. Keep gesture and Move your hand up and down
  2. Now you can see the brightness of LEDs change by your hand height.

Reference

Memo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published