Giter Site home page Giter Site logo

lingdong- / handpose-facemesh-demos Goto Github PK

View Code? Open in Web Editor NEW
185.0 10.0 32.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 tensorflowjs mediapipe machine-learning computer-vision networking threejs p5js

handpose-facemesh-demos's Issues

p5 demo link in readme returns 404

Thanks for this great repo. So many excellent examples!

I noticed this link to the p5 editor is broken. Do you have an updated link?

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

Thanks again.

run offline with local server

Hey Lingdong.
Thanks for making this code available.

I am trying to make it run in offline mode using the Brackets.io IDE to work on it.
Do you have instruction on how to run this locally?

For now I tried copying its linked tensor flow scripts to a local folder

        <script src="libs/tensorflow/tfjs-core-1.7.4/dist/tf-core.min.js"></script>
        <script src="libs/tensorflow/tfjs-converter-1.7.4/dist/tf-converter.min.js"></script>
        <script src="libs/tensorflow/tensorflow-models/handpose-0.0.4/dist/handpose.min.js"></script>

Screen Shot 2020-12-03 at 9 17 01 AM

But get the following error:

Screen Shot 2020-12-03 at 9 14 46 AM

I guess I will try to run a npm server next and see if that somehow work.

This site can’t provide a secure connection problem

Just a heads up, I don't know if it happens on every machine but the https redirection caused my browser to throw an ERR_SSL_PROTOCOL_ERROR when run locally.

I was able to make it work on a local node server by commenting these lines in index.html

<script> var isOnHTTPS = window.location.href.startsWith("https"); if (!isOnHTTPS){ window.location.href = window.location.href.replace("http","https"); } </script>

missing steps or something pls help me to test in droplet

git clone https://github.com/LingDong-/handpose-facemesh-demos.git
cd handpose-facemesh-demos
cd networked-hand-3js-tf174-handv1
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

then

npm install --global http-server
http-server -S -C cert.pem 

next

Starting up http-server, serving ./public through https
Available on:
  https://127.0.0.1:8080
  https://192.81.208.210:8080
  https://10.10.0.12:8080
  https://10.116.0.9:8080
Hit CTRL-C to stop the server
[Sun Jun 13 2021 02:58:16 GMT+0000 (Coordinated Universal Time)]  "GET /socket.io/?EIO=3&transport=polling&t=Ne3JZex" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"
[Sun Jun 13 2021 02:58:16 GMT+0000 (Coordinated Universal Time)]  "GET /socket.io/?EIO=3&transport=polling&t=Ne3JZex" Error (404): "Not found"

SNAG-0706

Uncaught (in promise) TypeError: n.kernel_impls.nonMaxSuppressionV3Impl is not a function

Thanks for these great examples!

I'm getting the following error when I try to run all of the facemesh examples on glitch.

Uncaught (in promise) TypeError: n.kernel_impls.nonMaxSuppressionV3Impl is not a function
    at Object.kernelFunc (tfjs-backend-webgl:17)
    at f (engine.ts:562)
    at engine.ts:619
    at t.scopedRun (engine.ts:436)
    at t.runKernelFunc (engine.ts:616)
    at nonMaxSuppression_ (non_max_suppression.ts:41)
    at Object.nonMaxSuppression (operation.ts:45)
    at h.getBoundingBoxes (facemesh:17)
    at t.<anonymous> (facemesh:17)
    at facemesh:17

I'm pretty sure I ran these about a month ago without any issues. Maybe a recent change is causing this bug?

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.