lingdong- / handpose-facemesh-demos Goto Github PK
View Code? Open in Web Editor NEWπ₯π€ 8 minimalistic templates for tfjs mediapipe handpose and facemesh
Home Page: https://handpose-demos.glitch.me/
π₯π€ 8 minimalistic templates for tfjs mediapipe handpose and facemesh
Home Page: https://handpose-demos.glitch.me/
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.
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>
I guess I will try to run a npm server next and see if that somehow work.
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>
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"
Have you researched a feasible way to distinguish between left and right hand οΌI can't find a solution ~
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.