GithubHelp home page GithubHelp logo

ikbal-nayem / handpose-facemesh-demos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lingdong-/handpose-facemesh-demos

0.0 1.0 0.0 13.73 MB

๐ŸŽฅ๐ŸคŸ 8 minimalistic templates for tfjs mediapipe handpose and facemesh

Home Page: https://handpose-demos.glitch.me/

HTML 9.15% JavaScript 87.82% CSS 1.48% Shell 1.55%

handpose-facemesh-demos's Introduction

Mediapipe Handpose and Facemesh Demos

Table of Contnets

Handpose Demos

Collection of minimalistic demos/templates using mediapipe handpose with tensorflow.js. Created for and supported by the Frank-Ratchye STUDIO for Creative Inquiry.

The handpose package detects hands in an input image or video stream, and returns twenty-one 3-dimensional landmarks locating features within each hand. Such landmarks include the locations of each finger joint and the palm. -- blog.tensorflow.org

There are 4 templates included in this repo, 2 of them with three.js and 2 with p5.js, 2 are multiplyer via socket.io + express, and 2 are singleplayer static sites. They're all well commented and explained for beginners.

All demos are hosted on glitch.com ๐ŸŽ

Online multiplayer 3D

  • tensorflow.js + mediapipe handpose
  • three.js
  • socket.io + express

Online multiplayer 2D

  • tensorflow.js + mediapipe handpose
  • p5.js
  • socket.io + express

Singleplayer 3D

  • tensorflow.js + mediapipe handpose
  • three.js

Singleplayer 2D

  • tensorflow.js + mediapipe handpose
  • p5.js

Also available on editor.p5js.org: https://editor.p5js.org/lingdong/sketches/1viPqbRMv

4 in 1

Glued together with iframes: https://handpose-demos.glitch.me/

Facemesh Demos

Collection of minimalistic demos/templates using mediapipe facemesh with tensorflow.js. Created for and supported by the Frank-Ratchye STUDIO for Creative Inquiry.

The facemesh package infers approximate 3D facial surface geometry from an image or video stream, requiring only a single camera input without the need for a depth sensor. -- blog.tensorflow.org

There are 4 templates included in this repo, 2 of them with three.js and 2 with p5.js, 2 are multiplyer via socket.io + express, and 2 are singleplayer static sites. They're all well commented and explained for beginners.

All demos are hosted on glitch.com ๐ŸŽ

Keypoint Subsets

There're 3 additional keypoint subsets available in each demo to select from, as alternatives to the facemesh 468 vertices. See image below for indices and triangulation for each of them:

From left to right:

  • Minimal 7 points
  • Important features 33 points
  • Standard facial landmark 68 points
  • Full facemesh 468 points. A larger resolution and flattened version of the illustration is available in tfjs facemesh repo.

Online multiplayer 3D

  • tensorflow.js + mediapipe facemseh
  • three.js
  • socket.io + express

Online multiplayer 2D

  • tensorflow.js + mediapipe facemseh
  • p5.js
  • socket.io + express

Singleplayer 3D

  • tensorflow.js + mediapipe facemseh
  • three.js

Singleplayer 2D

  • tensorflow.js + mediapipe facemseh
  • p5.js

Also available on editor.p5js.org: https://editor.p5js.org/lingdong/sketches/ef6FB-uNq

Made at the Frank-Ratchye STUDIO for Creative Inquiry at Carnegie Mellon University.

handpose-facemesh-demos's People

Contributors

lingdong- avatar

Watchers

 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.