Commit cfb7723b by vincent

updated example dependencies + removed package-lock.jsons + fixed firefox webcam issue

parent 604bf38f
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"author": "justadudewhohacks", "author": "justadudewhohacks",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"express": "^4.16.3", "express": "^4.16.4",
"request": "^2.87.0" "request": "^2.88.0"
} }
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="indeterminate"></div> <div class="indeterminate"></div>
</div> </div>
<div style="position: relative" class="margin"> <div style="position: relative" class="margin">
<video onplay="onPlay(this)" id="inputVideo" autoplay muted></video> <video onloadedmetadata="onPlay(this)" id="inputVideo" autoplay muted></video>
<canvas id="overlay" /> <canvas id="overlay" />
</div> </div>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="indeterminate"></div> <div class="indeterminate"></div>
</div> </div>
<div style="position: relative" class="margin"> <div style="position: relative" class="margin">
<video onplay="onPlay(this)" id="inputVideo" autoplay muted></video> <video onloadedmetadata="onPlay(this)" id="inputVideo" autoplay muted></video>
<canvas id="overlay" /> <canvas id="overlay" />
</div> </div>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="indeterminate"></div> <div class="indeterminate"></div>
</div> </div>
<div style="position: relative" class="margin"> <div style="position: relative" class="margin">
<video onplay="onPlay(this)" id="inputVideo" autoplay muted></video> <video onloadedmetadata="onPlay(this)" id="inputVideo" autoplay muted></video>
<canvas id="overlay" /> <canvas id="overlay" />
</div> </div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"author": "justadudewhohacks", "author": "justadudewhohacks",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@tensorflow/tfjs-node": "^0.2.3", "@tensorflow/tfjs-node": "^1.0.2",
"canvas": "^2.0.1", "canvas": "^2.0.1",
"face-api.js": "../../" "face-api.js": "../../"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment