This project is Protopie Connect bridge app using Google MediaPipe.
This app is based NodeJS. You must use NodeJS.
npm install
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)
Demo: https://www.youtube.com/watch?v=PmEk25tfTi8
- Run Protopie Connect.
- Run this app. (
npm start
ornpm run finger-pointing
) - Access localhost:2918 with your web browser.
- Allow web browser to use camera.
- Click the New button in Protopie Connect.
- Select ./pie/finger_pointing.pie file.
- Open finger_pointing Pie with web browser or mobile player.
- Now you can see that the dot tracks your right hand index finger tip.
Demo: https://www.youtube.com/watch?v=kHPATFu6F3o
- Setup Arduino circuit.
If you don't have an Arduino, you can use pie file(brightness-control.pie) in Protopie Connect
- Upload Arduino Code. (./arduino/brightness_control.ino)
- Run Protopie Connect.
- Connect Arduino with Protopie Connect.
- Run this app. (
npm run brightness-control
) - Access localhost:2918 with your web browser.
- Allow web browser to use camera.
- Make a hand gestures with your right hand like this.
- Keep gesture and Move your hand up and down
- Now you can see the brightness of LEDs change by your hand height.