updated packages

pull/50/head
Vladimir Mandic 2020-11-12 12:58:55 -05:00
parent 544cac628f
commit 394018fde9
23 changed files with 252685 additions and 157049 deletions

View File

@ -34,7 +34,7 @@ const ui = {
menuHeight: 0, menuHeight: 0,
camera: {}, camera: {},
fps: [], fps: [],
buffered: true, buffered: false,
bufferedFPSTarget: 24, bufferedFPSTarget: 24,
drawThread: null, drawThread: null,
framesDraw: 0, framesDraw: 0,

View File

@ -170,6 +170,7 @@ async function main() {
const server = http2.createSecureServer(options, httpRequest); const server = http2.createSecureServer(options, httpRequest);
server.on('listening', () => log.state('HTTP2 server listening:', options.port)); server.on('listening', () => log.state('HTTP2 server listening:', options.port));
server.listen(options.port); server.listen(options.port);
await build('all', 'startup');
} }
main(); main();

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"demo/browser.js": { "demo/browser.js": {
"bytes": 19806, "bytes": 19807,
"imports": [ "imports": [
{ {
"path": "dist/human.esm.js" "path": "dist/human.esm.js"
@ -23,7 +23,7 @@
"imports": [] "imports": []
}, },
"dist/human.esm.js": { "dist/human.esm.js": {
"bytes": 2080824, "bytes": 3443493,
"imports": [] "imports": []
} }
}, },
@ -31,31 +31,25 @@
"dist/demo-browser-index.js.map": { "dist/demo-browser-index.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 2844399 "bytes": 5414330
}, },
"dist/demo-browser-index.js": { "dist/demo-browser-index.js": {
"imports": [], "imports": [],
"inputs": { "inputs": {
"dist/human.esm.js": { "dist/human.esm.js": {
"bytesInOutput": 1144406 "bytesInOutput": 3432788
},
"dist/human.esm.js": {
"bytesInOutput": 319699
},
"dist/human.esm.js": {
"bytesInOutput": 578472
}, },
"demo/draw.js": { "demo/draw.js": {
"bytesInOutput": 9599 "bytesInOutput": 9599
}, },
"demo/menu.js": { "demo/menu.js": {
"bytesInOutput": 13821 "bytesInOutput": 13813
}, },
"demo/browser.js": { "demo/browser.js": {
"bytesInOutput": 17394 "bytesInOutput": 17363
} }
}, },
"bytes": 2083513 "bytes": 3473685
} }
} }
} }

View File

@ -20867,7 +20867,7 @@ var require_image = __commonJS((exports) => {
}); });
// src/tf.js // 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"; import {setWasmPaths} from "@tensorflow/tfjs-backend-wasm/dist/index.js";
const loadGraphModel = tf.loadGraphModel; const loadGraphModel = tf.loadGraphModel;

File diff suppressed because one or more lines are too long

View File

@ -349,7 +349,7 @@
"imports": [] "imports": []
}, },
"src/tf.js": { "src/tf.js": {
"bytes": 1401, "bytes": 1137,
"imports": [] "imports": []
} }
}, },
@ -357,7 +357,7 @@
"dist/human.esm-nobundle.js.map": { "dist/human.esm-nobundle.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 769567 "bytes": 769294
}, },
"dist/human.esm-nobundle.js": { "dist/human.esm-nobundle.js": {
"imports": [], "imports": [],
@ -450,7 +450,7 @@
"bytesInOutput": 5382 "bytesInOutput": 5382
}, },
"src/tf.js": { "src/tf.js": {
"bytesInOutput": 170 "bytesInOutput": 174
}, },
"src/face/triangulation.js": { "src/face/triangulation.js": {
"bytesInOutput": 17898 "bytesInOutput": 17898
@ -483,7 +483,7 @@
"bytesInOutput": 0 "bytesInOutput": 0
} }
}, },
"bytes": 419157 "bytes": 419161
} }
} }
} }

96111
dist/human.esm.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

7756
dist/human.esm.json vendored

File diff suppressed because it is too large Load Diff

96067
dist/human.js vendored

File diff suppressed because it is too large Load Diff

6
dist/human.js.map vendored

File diff suppressed because one or more lines are too long

7788
dist/human.json vendored

File diff suppressed because it is too large Load Diff

View File

@ -20877,7 +20877,7 @@ __export(exports, {
}); });
// src/tf.js // 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 dist = __toModule(require("@tensorflow/tfjs-backend-wasm/dist/index.js"));
const loadGraphModel = tf.loadGraphModel; const loadGraphModel = tf.loadGraphModel;

File diff suppressed because one or more lines are too long

103437
dist/human.node.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -349,7 +349,7 @@
"imports": [] "imports": []
}, },
"src/tf.js": { "src/tf.js": {
"bytes": 1401, "bytes": 1137,
"imports": [] "imports": []
} }
}, },
@ -357,7 +357,7 @@
"dist/human.node-nobundle.js.map": { "dist/human.node-nobundle.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 784814 "bytes": 784541
}, },
"dist/human.node-nobundle.js": { "dist/human.node-nobundle.js": {
"imports": [], "imports": [],
@ -453,7 +453,7 @@
"bytesInOutput": 47 "bytesInOutput": 47
}, },
"src/tf.js": { "src/tf.js": {
"bytesInOutput": 189 "bytesInOutput": 193
}, },
"src/face/triangulation.js": { "src/face/triangulation.js": {
"bytesInOutput": 17898 "bytesInOutput": 17898
@ -483,7 +483,7 @@
"bytesInOutput": 12338 "bytesInOutput": 12338
} }
}, },
"bytes": 419504 "bytes": 419508
} }
} }
} }

23
package-lock.json generated
View File

@ -821,9 +821,9 @@
} }
}, },
"esbuild": { "esbuild": {
"version": "0.8.5", "version": "0.8.6",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.5.tgz", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.6.tgz",
"integrity": "sha512-195Lq3Hp3V8rvccV4ede8PxmGvKuh4BrGQHxVfcYmpyg1ni078QN4iO1VNYCl55v0qYsWz6n96y3ZtMpuEtDRQ==", "integrity": "sha512-JBN3gYqc6j/fX2s2zjwGoVbHGODFOIpzbRCSI9OM3rkvYuALqB91EUjoBW6uuwmiURPgH5IksJNN6ndTY778sw==",
"dev": true "dev": true
}, },
"escalade": { "escalade": {
@ -1286,8 +1286,7 @@
"function-bind": { "function-bind": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
"dev": true
}, },
"functional-red-black-tree": { "functional-red-black-tree": {
"version": "1.0.1", "version": "1.0.1",
@ -1413,7 +1412,6 @@
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
"dev": true,
"requires": { "requires": {
"function-bind": "^1.1.1" "function-bind": "^1.1.1"
} }
@ -1539,7 +1537,6 @@
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz",
"integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==",
"dev": true,
"requires": { "requires": {
"has": "^1.0.3" "has": "^1.0.3"
} }
@ -2091,8 +2088,7 @@
"path-parse": { "path-parse": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
"dev": true
}, },
"path-type": { "path-type": {
"version": "2.0.0", "version": "2.0.0",
@ -2224,12 +2220,11 @@
"dev": true "dev": true
}, },
"resolve": { "resolve": {
"version": "1.18.1", "version": "1.19.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.18.1.tgz", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
"integrity": "sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA==", "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
"dev": true,
"requires": { "requires": {
"is-core-module": "^2.0.0", "is-core-module": "^2.1.0",
"path-parse": "^1.0.6" "path-parse": "^1.0.6"
} }
}, },

View File

@ -28,7 +28,7 @@
"@vladmandic/pilogger": "^0.2.7", "@vladmandic/pilogger": "^0.2.7",
"chokidar": "^3.4.3", "chokidar": "^3.4.3",
"dayjs": "^1.9.6", "dayjs": "^1.9.6",
"esbuild": "^0.8.5", "esbuild": "^0.8.6",
"eslint": "^7.13.0", "eslint": "^7.13.0",
"eslint-config-airbnb-base": "^14.2.1", "eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",

View File

@ -1,18 +1,9 @@
// from compileld sources: bundle 2.0M // from esm bundles: bundle 3.3M
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
/*
import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js'; import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js';
import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js';
const loadGraphModel = tf.loadGraphModel; const loadGraphModel = tf.loadGraphModel;
export { tf, setWasmPaths, loadGraphModel }; export { tf, setWasmPaths, loadGraphModel };
*/
// modular: bundle 4.2M // modular: bundle 4.2M
/* /*

2
wiki

@ -1 +1 @@
Subproject commit 1cc1d9bf597c26a37f4e70c4895b1e956195c1b3 Subproject commit 726b24b9a76fd3df36fc309bd4f962daf4c74e45