GithubHelp home page GithubHelp logo

trellixvulnteam / sign-language-recogntion_hhtm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nodamu/sign-language-recogntion

0.0 0.0 0.0 138.65 MB

Cross platform sign language translation with mediapipe

License: Apache License 2.0

Shell 0.11% JavaScript 0.07% C++ 82.20% Python 2.04% C 0.89% Objective-C 1.68% Java 3.58% Objective-C++ 2.08% Makefile 0.01% HTML 0.05% Dockerfile 0.06% Starlark 7.23%

sign-language-recogntion_hhtm's Introduction

Build Status

Hand gesture recognition with Mediapipe

MediaPipe is a framework for building multimodal (eg. video, audio, any time series data), cross platform (i.e Android, iOS, web, edge devices) applied ML pipelines. With MediaPipe, a perception pipeline can be built as a graph of modular components, including, for instance, inference models (e.g., TensorFlow, TFLite) and media processing functions.

Installation

  1. To install mediapipe follow these instructions for linux environments(That's what I use, haven't tested on other OS's).
  2. To run the desktop demo via webcam on CPU run
# This compiles and builds the demo
# It should print:
#Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu up-to-date:
# bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu
#INFO: Build completed successfully, 12517 total actions
$ bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 \
    mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu


# This will open up your webcam as long as it is connected and on
# Any errors is likely due to your webcam being not accessible
$ GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_cpu \
    --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt
  1. To run on GPU on desktop run
# Video from webcam running on desktop GPU
# This works only for linux currently
$ bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS \
    mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu

# It should print:
# Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu up-to-date:
#  bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu
#INFO: Build completed successfully, 22455 total actions

# This will open up your webcam as long as it is connected and on
# Any errors is likely due to your webcam being not accessible,
# or GPU drivers not setup properly.
$ GLOG_logtostderr=1 bazel-bin/mediapipe/examples/desktop/hand_tracking/hand_tracking_gpu \
    --calculator_graph_config_file=mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt

Custom hand gesture recognition calculator built with mediapipe

  • Gesture Calulator
  • GestureRecognizer calulator
  • It currently uses finger state to detect signs i.e bent, straight relative to thumb
  • Currently working on using weighted matching
  • To view graph in visualizer, upload hand_landmark_cpu.pbtxt to MediaPipe Visualizer.

Android

  • Android build can be found here

Roadmap

  • Implement a robust similarity matching function(Working on a weighted matching function)
  • Hook up Travis CI for remote builds and Continuous integration
  • Sign/Gesture preseting and storage
  • Port to mobile platforms(Android and iOS)

sign-language-recogntion_hhtm's People

Contributors

nodamu avatar trellixvulnteam 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.