Git Product home page Git Product logo

fingerpose_gestures's Introduction

Detect Fingerpose Gestures

🌟 About

fingerpose-gestures is a library built on top of Fingerpose classifier for hand landmarks detected by TensorFlow.js' handpose model. It can detect hand gestures inside a webcam source picture.

How it works

Gesture detection works in 3 steps:

  1. Detect the hand landmarks inside the video picture
  2. Estimating the direction and curl of each individual finger
  3. Comparing the result to a set of gesture description

Step (1) is performed by TensorFlow's "handpose", Step (2) and (3) are handled by fingerpose library.

πŸ‘¨β€πŸ’» Technologies used

CSS HMTL5 JavaScript TensorFlow

✨ Screenshots

Gestures - Emoji + Strings

name emoji
thumbs_up "πŸ‘ Legal!"
rock "✊️ Punho"
paper "πŸ– Oi"
scissors "✌️ Vitória!"
middle "πŸ–• Toma!"
fazol "πŸ‘† Faz o L"
ok "πŸ‘Œ OK!"
pinching "🀏 Vish"
thumbs_down "πŸ‘Ž PΓ©ssimo!"
painLeft "πŸ‘ˆ Bolsonaro?"
top "☝️ Acima"
yes "🀟 Rock"
horn "🀘 Corno?"
rightHand "🫱 Deitado"
show "πŸ€™ Show"

Running the project

Obs: Requirements: Node installed

Below are the instructions for you to run the project on your machine.

Start by cloning the repository and installing its dependencies:

git clone https://github.com/davigomesflorencio/fingerpose_gestures
cd fingerpose_gestures
npm install

start application

npm start

Config Webcam

In the index.js file we can adjust some webcam settings such as Height, Width, Fps and Webcam Id available

Change the webcam by modifying it with any available id shown in the application's interface as soon as it starts

var config = {
  video: {
    width: 1600,
    height: 1200,
    fps: 30,
    id: "",
  },
};

Licence πŸ“ƒ

MIT

fingerpose_gestures's People

Contributors

davigomesflorencio 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.