mirror of https://github.com/vladmandic/human
updated packages
parent
544cac628f
commit
394018fde9
|
@ -34,7 +34,7 @@ const ui = {
|
|||
menuHeight: 0,
|
||||
camera: {},
|
||||
fps: [],
|
||||
buffered: true,
|
||||
buffered: false,
|
||||
bufferedFPSTarget: 24,
|
||||
drawThread: null,
|
||||
framesDraw: 0,
|
||||
|
|
|
@ -170,6 +170,7 @@ async function main() {
|
|||
const server = http2.createSecureServer(options, httpRequest);
|
||||
server.on('listening', () => log.state('HTTP2 server listening:', options.port));
|
||||
server.listen(options.port);
|
||||
await build('all', 'startup');
|
||||
}
|
||||
|
||||
main();
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"inputs": {
|
||||
"demo/browser.js": {
|
||||
"bytes": 19806,
|
||||
"bytes": 19807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/human.esm.js"
|
||||
|
@ -23,7 +23,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"dist/human.esm.js": {
|
||||
"bytes": 2080824,
|
||||
"bytes": 3443493,
|
||||
"imports": []
|
||||
}
|
||||
},
|
||||
|
@ -31,31 +31,25 @@
|
|||
"dist/demo-browser-index.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 2844399
|
||||
"bytes": 5414330
|
||||
},
|
||||
"dist/demo-browser-index.js": {
|
||||
"imports": [],
|
||||
"inputs": {
|
||||
"dist/human.esm.js": {
|
||||
"bytesInOutput": 1144406
|
||||
},
|
||||
"dist/human.esm.js": {
|
||||
"bytesInOutput": 319699
|
||||
},
|
||||
"dist/human.esm.js": {
|
||||
"bytesInOutput": 578472
|
||||
"bytesInOutput": 3432788
|
||||
},
|
||||
"demo/draw.js": {
|
||||
"bytesInOutput": 9599
|
||||
},
|
||||
"demo/menu.js": {
|
||||
"bytesInOutput": 13821
|
||||
"bytesInOutput": 13813
|
||||
},
|
||||
"demo/browser.js": {
|
||||
"bytesInOutput": 17394
|
||||
"bytesInOutput": 17363
|
||||
}
|
||||
},
|
||||
"bytes": 2083513
|
||||
"bytes": 3473685
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20867,7 +20867,7 @@ var require_image = __commonJS((exports) => {
|
|||
});
|
||||
|
||||
// src/tf.js
|
||||
import * as tf from "@tensorflow/tfjs/dist/index.js";
|
||||
import * as tf from "@tensorflow/tfjs/dist/tf.es2017.js";
|
||||
import {setWasmPaths} from "@tensorflow/tfjs-backend-wasm/dist/index.js";
|
||||
const loadGraphModel = tf.loadGraphModel;
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -349,7 +349,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tf.js": {
|
||||
"bytes": 1401,
|
||||
"bytes": 1137,
|
||||
"imports": []
|
||||
}
|
||||
},
|
||||
|
@ -357,7 +357,7 @@
|
|||
"dist/human.esm-nobundle.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 769567
|
||||
"bytes": 769294
|
||||
},
|
||||
"dist/human.esm-nobundle.js": {
|
||||
"imports": [],
|
||||
|
@ -450,7 +450,7 @@
|
|||
"bytesInOutput": 5382
|
||||
},
|
||||
"src/tf.js": {
|
||||
"bytesInOutput": 170
|
||||
"bytesInOutput": 174
|
||||
},
|
||||
"src/face/triangulation.js": {
|
||||
"bytesInOutput": 17898
|
||||
|
@ -483,7 +483,7 @@
|
|||
"bytesInOutput": 0
|
||||
}
|
||||
},
|
||||
"bytes": 419157
|
||||
"bytes": 419161
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -20877,7 +20877,7 @@ __export(exports, {
|
|||
});
|
||||
|
||||
// src/tf.js
|
||||
const tf = __toModule(require("@tensorflow/tfjs/dist/index.js"));
|
||||
const tf = __toModule(require("@tensorflow/tfjs/dist/tf.es2017.js"));
|
||||
const dist = __toModule(require("@tensorflow/tfjs-backend-wasm/dist/index.js"));
|
||||
const loadGraphModel = tf.loadGraphModel;
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -349,7 +349,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tf.js": {
|
||||
"bytes": 1401,
|
||||
"bytes": 1137,
|
||||
"imports": []
|
||||
}
|
||||
},
|
||||
|
@ -357,7 +357,7 @@
|
|||
"dist/human.node-nobundle.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 784814
|
||||
"bytes": 784541
|
||||
},
|
||||
"dist/human.node-nobundle.js": {
|
||||
"imports": [],
|
||||
|
@ -453,7 +453,7 @@
|
|||
"bytesInOutput": 47
|
||||
},
|
||||
"src/tf.js": {
|
||||
"bytesInOutput": 189
|
||||
"bytesInOutput": 193
|
||||
},
|
||||
"src/face/triangulation.js": {
|
||||
"bytesInOutput": 17898
|
||||
|
@ -483,7 +483,7 @@
|
|||
"bytesInOutput": 12338
|
||||
}
|
||||
},
|
||||
"bytes": 419504
|
||||
"bytes": 419508
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -821,9 +821,9 @@
|
|||
}
|
||||
},
|
||||
"esbuild": {
|
||||
"version": "0.8.5",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.5.tgz",
|
||||
"integrity": "sha512-195Lq3Hp3V8rvccV4ede8PxmGvKuh4BrGQHxVfcYmpyg1ni078QN4iO1VNYCl55v0qYsWz6n96y3ZtMpuEtDRQ==",
|
||||
"version": "0.8.6",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.6.tgz",
|
||||
"integrity": "sha512-JBN3gYqc6j/fX2s2zjwGoVbHGODFOIpzbRCSI9OM3rkvYuALqB91EUjoBW6uuwmiURPgH5IksJNN6ndTY778sw==",
|
||||
"dev": true
|
||||
},
|
||||
"escalade": {
|
||||
|
@ -1286,8 +1286,7 @@
|
|||
"function-bind": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
||||
"dev": true
|
||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
||||
},
|
||||
"functional-red-black-tree": {
|
||||
"version": "1.0.1",
|
||||
|
@ -1413,7 +1412,6 @@
|
|||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
||||
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"function-bind": "^1.1.1"
|
||||
}
|
||||
|
@ -1539,7 +1537,6 @@
|
|||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz",
|
||||
"integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has": "^1.0.3"
|
||||
}
|
||||
|
@ -2091,8 +2088,7 @@
|
|||
"path-parse": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
|
||||
"dev": true
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
|
||||
},
|
||||
"path-type": {
|
||||
"version": "2.0.0",
|
||||
|
@ -2224,12 +2220,11 @@
|
|||
"dev": true
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.18.1",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.18.1.tgz",
|
||||
"integrity": "sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA==",
|
||||
"dev": true,
|
||||
"version": "1.19.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
|
||||
"integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
|
||||
"requires": {
|
||||
"is-core-module": "^2.0.0",
|
||||
"is-core-module": "^2.1.0",
|
||||
"path-parse": "^1.0.6"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"@vladmandic/pilogger": "^0.2.7",
|
||||
"chokidar": "^3.4.3",
|
||||
"dayjs": "^1.9.6",
|
||||
"esbuild": "^0.8.5",
|
||||
"esbuild": "^0.8.6",
|
||||
"eslint": "^7.13.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
|
|
11
src/tf.js
11
src/tf.js
|
@ -1,18 +1,9 @@
|
|||
// from compileld sources: bundle 2.0M
|
||||
import * as tf from '@tensorflow/tfjs/dist/index.js';
|
||||
import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js';
|
||||
|
||||
const loadGraphModel = tf.loadGraphModel;
|
||||
export { tf, setWasmPaths, loadGraphModel };
|
||||
|
||||
// from esm bundles: bundle 3.2M
|
||||
/*
|
||||
// from esm bundles: bundle 3.3M
|
||||
import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js';
|
||||
import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js';
|
||||
|
||||
const loadGraphModel = tf.loadGraphModel;
|
||||
export { tf, setWasmPaths, loadGraphModel };
|
||||
*/
|
||||
|
||||
// modular: bundle 4.2M
|
||||
/*
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit 1cc1d9bf597c26a37f4e70c4895b1e956195c1b3
|
||||
Subproject commit 726b24b9a76fd3df36fc309bd4f962daf4c74e45
|
Loading…
Reference in New Issue