mirror of https://github.com/vladmandic/human
add human.custom.esm using custom tfjs build
parent
9e73648f3d
commit
0688a0cebf
3
TODO.md
3
TODO.md
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
## Work in Progress
|
## Work in Progress
|
||||||
|
|
||||||
- Switch to custom `tfjs` for main `human` ESM bundle
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
### Models
|
### Models
|
||||||
|
@ -32,6 +30,7 @@ Experimental support only until support is officially added in Chromium
|
||||||
- Optical Flow: <https://docs.opencv.org/3.3.1/db/d7f/tutorial_js_lucas_kanade.html>
|
- Optical Flow: <https://docs.opencv.org/3.3.1/db/d7f/tutorial_js_lucas_kanade.html>
|
||||||
- TFLite Models: <https://js.tensorflow.org/api_tflite/0.0.1-alpha.4/>
|
- TFLite Models: <https://js.tensorflow.org/api_tflite/0.0.1-alpha.4/>
|
||||||
- Histogram Equalization: Regular, Adaptive, Contrast Limited
|
- Histogram Equalization: Regular, Adaptive, Contrast Limited
|
||||||
|
- Switch to custom `tfjs` for main `human` ESM bundle
|
||||||
|
|
||||||
<br><hr><br>
|
<br><hr><br>
|
||||||
|
|
||||||
|
|
20
build.json
20
build.json
|
@ -109,6 +109,26 @@
|
||||||
"sourcemap": true,
|
"sourcemap": true,
|
||||||
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
"external": ["@tensorflow", "fs", "os", "buffer", "util"]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "tfjs/browser/esm/custom",
|
||||||
|
"platform": "browser",
|
||||||
|
"format": "esm",
|
||||||
|
"input": "tfjs/tf-custom.ts",
|
||||||
|
"output": "dist/tfjs.esm.js",
|
||||||
|
"sourcemap": true,
|
||||||
|
"external": ["fs", "os", "buffer", "util"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "human/browser/esm/custom",
|
||||||
|
"platform": "browser",
|
||||||
|
"format": "esm",
|
||||||
|
"input": "src/human.ts",
|
||||||
|
"output": "dist/human.custom.esm.js",
|
||||||
|
"sourcemap": true,
|
||||||
|
"external": ["fs", "os", "buffer", "util"]
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "tfjs/browser/esm/bundle",
|
"name": "tfjs/browser/esm/bundle",
|
||||||
"platform": "browser",
|
"platform": "browser",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* config={}: contains all model configuration used by human
|
* config={}: contains all model configuration used by human
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import Human from '../../dist/human.esm.js'; // equivalent of @vladmandic/human
|
import Human from '../../dist/human.custom.esm.js'; // equivalent of @vladmandic/human
|
||||||
import webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream
|
import webRTC from '../helpers/webrtc.js'; // handle webrtc handshake and connects to webrtc stream
|
||||||
|
|
||||||
const config = { // use default values for everything just specify models location
|
const config = { // use default values for everything just specify models location
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
127
test/build.log
127
test/build.log
|
@ -22,3 +22,130 @@
|
||||||
2021-10-20 09:10:38 [35mSTATE:[39m Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":90,"errors":0,"warnings":0}
|
2021-10-20 09:10:38 [35mSTATE:[39m Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":90,"errors":0,"warnings":0}
|
||||||
2021-10-20 09:10:39 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
2021-10-20 09:10:39 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
||||||
2021-10-20 09:10:39 [36mINFO: [39m Done...
|
2021-10-20 09:10:39 [36mINFO: [39m Done...
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m @vladmandic/human version 2.3.5
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m User: vlado Platform: linux Arch: x64 Node: v16.10.0
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"2.3.5"}
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m Environment: {"profile":"development","config":"build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m Toolchain: {"build":"0.6.2","esbuild":"0.13.8","typescript":"4.4.4","typedoc":"0.22.6","eslint":"8.0.1"}
|
||||||
|
2021-10-20 17:40:48 [36mINFO: [39m Build: {"profile":"development","steps":["serve","watch","compile"]}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m WebServer: {"ssl":false,"port":10030,"root":"."}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m WebServer: {"ssl":true,"port":10031,"root":".","sslKey":"node_modules/@vladmandic/build/cert/https.key","sslCrt":"node_modules/@vladmandic/build/cert/https.crt"}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Watch: {"locations":["src/**","README.md","src/**/*","tfjs/**/*"]}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":102,"outputBytes":1275}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":54,"inputBytes":524046,"outputBytes":434832}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1283}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":54,"inputBytes":524054,"outputBytes":434836}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":149,"outputBytes":1350}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":54,"inputBytes":524121,"outputBytes":434908}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":1631}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2135,"outputBytes":856}
|
||||||
|
2021-10-20 17:40:48 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":54,"inputBytes":523627,"outputBytes":436428}
|
||||||
|
2021-10-20 17:40:49 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-custom.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2561301,"outputBytes":2497077}
|
||||||
|
2021-10-20 17:40:49 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.custom.esm.js","files":54,"inputBytes":3019848,"outputBytes":2921473}
|
||||||
|
2021-10-20 17:40:50 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":8,"inputBytes":2135,"outputBytes":2691961}
|
||||||
|
2021-10-20 17:40:51 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":54,"inputBytes":3214732,"outputBytes":1611375}
|
||||||
|
2021-10-20 17:40:52 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":54,"inputBytes":3214732,"outputBytes":2928293}
|
||||||
|
2021-10-20 17:40:52 [36mINFO: [39m Listening...
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m @vladmandic/human version 2.3.5
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m User: vlado Platform: linux Arch: x64 Node: v16.10.0
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"2.3.5"}
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m Environment: {"profile":"development","config":"build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m Toolchain: {"build":"0.6.2","esbuild":"0.13.8","typescript":"4.4.4","typedoc":"0.22.6","eslint":"8.0.1"}
|
||||||
|
2021-10-20 17:41:52 [36mINFO: [39m Build: {"profile":"development","steps":["serve","watch","compile"]}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m WebServer: {"ssl":false,"port":10030,"root":"."}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m WebServer: {"ssl":true,"port":10031,"root":".","sslKey":"node_modules/@vladmandic/build/cert/https.key","sslCrt":"node_modules/@vladmandic/build/cert/https.crt"}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Watch: {"locations":["src/**","README.md","src/**/*","tfjs/**/*"]}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":102,"outputBytes":1275}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":54,"inputBytes":524046,"outputBytes":434832}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1283}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":54,"inputBytes":524054,"outputBytes":434836}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":149,"outputBytes":1350}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":54,"inputBytes":524121,"outputBytes":434908}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":1631}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2135,"outputBytes":856}
|
||||||
|
2021-10-20 17:41:52 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":54,"inputBytes":523627,"outputBytes":436428}
|
||||||
|
2021-10-20 17:41:53 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/custom","format":"esm","platform":"browser","input":"tfjs/tf-custom.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2561301,"outputBytes":2497077}
|
||||||
|
2021-10-20 17:41:53 [35mSTATE:[39m Compile: {"name":"human/browser/esm/custom","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.custom.esm.js","files":54,"inputBytes":3019848,"outputBytes":2921473}
|
||||||
|
2021-10-20 17:41:54 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":8,"inputBytes":2135,"outputBytes":2691961}
|
||||||
|
2021-10-20 17:41:54 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":54,"inputBytes":3214732,"outputBytes":1611375}
|
||||||
|
2021-10-20 17:41:55 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":54,"inputBytes":3214732,"outputBytes":2928293}
|
||||||
|
2021-10-20 17:41:55 [36mINFO: [39m Listening...
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/html","size":1763,"url":"/demo/simple","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":48170,"url":"/demo/index.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":2928293,"url":"/dist/human.esm.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":14222,"url":"/demo/helpers/menu.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":10894,"url":"/demo/helpers/gl-bench.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":3406,"url":"/demo/helpers/webrtc.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:00 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":5785,"url":"/demo/helpers/jsonview.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:01 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":7481725,"url":"/dist/human.esm.js.map","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:01 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":4115,"url":"/demo/index-pwa.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/html","size":1763,"url":"/demo/simple/index.html","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":4673,"url":"/demo/simple/index.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [33mWARN: [39m HTTP: {"method":"GET","ver":"1.1","status":404,"url":"/demo/assets/lato-light.woff2","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":2921473,"url":"/dist/human.custom.esm.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":3406,"url":"/demo/helpers/webrtc.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":7250615,"url":"/dist/human.custom.esm.js.map","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":79038,"url":"/models/blazeface.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":89289,"url":"/models/facemesh.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":122025,"url":"/models/iris.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":602812,"url":"/models/handtrack.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":129116,"url":"/models/handskeleton.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":161813,"url":"/models/movenet-lightning.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":17980,"url":"/models/emotion.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":71432,"url":"/models/faceres.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":538928,"url":"/models/blazeface.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2955780,"url":"/models/facemesh.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2599092,"url":"/models/iris.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":820516,"url":"/models/emotion.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":5502280,"url":"/models/handskeleton.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":6978814,"url":"/models/faceres.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":4650216,"url":"/models/movenet-lightning.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:43:16 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2964837,"url":"/models/handtrack.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m @vladmandic/human version 2.3.5
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m User: vlado Platform: linux Arch: x64 Node: v16.10.0
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"2.3.5"}
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m Environment: {"profile":"development","config":"build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m Toolchain: {"build":"0.6.2","esbuild":"0.13.8","typescript":"4.4.4","typedoc":"0.22.6","eslint":"8.0.1"}
|
||||||
|
2021-10-20 17:44:42 [36mINFO: [39m Build: {"profile":"development","steps":["serve","watch","compile"]}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m WebServer: {"ssl":false,"port":10030,"root":"."}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m WebServer: {"ssl":true,"port":10031,"root":".","sslKey":"node_modules/@vladmandic/build/cert/https.key","sslCrt":"node_modules/@vladmandic/build/cert/https.crt"}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Watch: {"locations":["src/**","README.md","src/**/*","tfjs/**/*"]}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":102,"outputBytes":1275}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":54,"inputBytes":524046,"outputBytes":434832}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1283}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":54,"inputBytes":524054,"outputBytes":434836}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":149,"outputBytes":1350}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":54,"inputBytes":524121,"outputBytes":434908}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":1631}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2135,"outputBytes":856}
|
||||||
|
2021-10-20 17:44:42 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":54,"inputBytes":523627,"outputBytes":436428}
|
||||||
|
2021-10-20 17:44:43 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/custom","format":"esm","platform":"browser","input":"tfjs/tf-custom.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2561301,"outputBytes":2481273}
|
||||||
|
2021-10-20 17:44:43 [35mSTATE:[39m Compile: {"name":"human/browser/esm/custom","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.custom.esm.js","files":54,"inputBytes":3004044,"outputBytes":2921489}
|
||||||
|
2021-10-20 17:44:44 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":8,"inputBytes":2135,"outputBytes":2691961}
|
||||||
|
2021-10-20 17:44:44 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":54,"inputBytes":3214732,"outputBytes":1611375}
|
||||||
|
2021-10-20 17:44:45 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":54,"inputBytes":3214732,"outputBytes":2928293}
|
||||||
|
2021-10-20 17:44:45 [36mINFO: [39m Listening...
|
||||||
|
2021-10-20 17:45:32 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/html","size":1763,"url":"/demo/simple/index.html","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:32 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":4673,"url":"/demo/simple/index.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:32 [33mWARN: [39m HTTP: {"method":"GET","ver":"1.1","status":404,"url":"/demo/assets/lato-light.woff2","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:32 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":2921489,"url":"/dist/human.custom.esm.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:32 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"text/javascript","size":3406,"url":"/demo/helpers/webrtc.js","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:32 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":7250615,"url":"/dist/human.custom.esm.js.map","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":79038,"url":"/models/blazeface.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":89289,"url":"/models/facemesh.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":122025,"url":"/models/iris.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":602812,"url":"/models/handtrack.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":129116,"url":"/models/handskeleton.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":161813,"url":"/models/movenet-lightning.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":17980,"url":"/models/emotion.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/json","size":71432,"url":"/models/faceres.json","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"image/x-icon","size":261950,"url":"/favicon.ico","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":538928,"url":"/models/blazeface.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2599092,"url":"/models/iris.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2955780,"url":"/models/facemesh.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":5502280,"url":"/models/handskeleton.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":820516,"url":"/models/emotion.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":4650216,"url":"/models/movenet-lightning.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":6978814,"url":"/models/faceres.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
2021-10-20 17:45:33 [32mDATA: [39m HTTP: {"method":"GET","ver":"1.1","status":200,"mime":"application/octet-stream","size":2964837,"url":"/models/handtrack.bin","remote":"::ffff:192.168.0.200"}
|
||||||
|
|
|
@ -3,29 +3,6 @@
|
||||||
* @external
|
* @external
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// export all from sources
|
|
||||||
// requires treeShaking:ignore-annotations due to tfjs misconfiguration
|
|
||||||
/*
|
|
||||||
export * from '@tensorflow/tfjs-core/src/index';
|
|
||||||
export * from '@tensorflow/tfjs-layers/src/index';
|
|
||||||
export * from '@tensorflow/tfjs-converter/src/index';
|
|
||||||
export * as data from '@tensorflow/tfjs-data/src/index';
|
|
||||||
export * from '@tensorflow/tfjs-backend-cpu/src/index';
|
|
||||||
export * from '@tensorflow/tfjs-backend-webgl/src/index';
|
|
||||||
export * from '@tensorflow/tfjs-backend-wasm/src/index';
|
|
||||||
*/
|
|
||||||
|
|
||||||
// export all from build individual packages
|
|
||||||
/*
|
|
||||||
export * from '@tensorflow/tfjs-core/dist/index.js';
|
|
||||||
export * from '@tensorflow/tfjs-layers/dist/index.js';
|
|
||||||
export * from '@tensorflow/tfjs-converter/dist/index.js';
|
|
||||||
export * as data from '@tensorflow/tfjs-data/dist/index.js';
|
|
||||||
export * from '@tensorflow/tfjs-backend-cpu/dist/index.js';
|
|
||||||
export * from '@tensorflow/tfjs-backend-webgl/dist/index.js';
|
|
||||||
export * from '@tensorflow/tfjs-backend-wasm/dist/index.js';
|
|
||||||
*/
|
|
||||||
|
|
||||||
// export all from build bundle
|
// export all from build bundle
|
||||||
export * from '@tensorflow/tfjs/dist/index.js';
|
export * from '@tensorflow/tfjs/dist/index.js';
|
||||||
export * from '@tensorflow/tfjs-backend-webgl/dist/index.js';
|
export * from '@tensorflow/tfjs-backend-webgl/dist/index.js';
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
* @external
|
* @external
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export * from '../assets/tfjs.esm.js';
|
export * from '../../tfjs/dist/tfjs.esm';
|
||||||
|
|
Loading…
Reference in New Issue