mirror of https://github.com/vladmandic/human
update build platform
parent
1bf65413fe
commit
97b6cb152c
|
@ -9,8 +9,9 @@
|
|||
|
||||
## Changelog
|
||||
|
||||
### **HEAD -> main** 2023/02/03 mandic00@live.com
|
||||
### **HEAD -> main** 2023/02/06 mandic00@live.com
|
||||
|
||||
- add face.detector.minsize configurable setting
|
||||
- add affectnet
|
||||
|
||||
### **3.0.5** 2023/02/02 mandic00@live.com
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1007,7 +1007,7 @@ var wk = Kt((Sk, dC) => {
|
|||
return i.x = a.x.slice(), i.i = a.i, i;
|
||||
}
|
||||
function s(a, i) {
|
||||
a == null && (a = +new Date());
|
||||
a == null && (a = +/* @__PURE__ */ new Date());
|
||||
var p = new o(a), u = i && i.state, c = function() {
|
||||
return (p.next() >>> 0) / 4294967296;
|
||||
};
|
||||
|
@ -1047,7 +1047,7 @@ var vk = Kt((Ik, fC) => {
|
|||
return i.i = a.i, i.w = a.w, i.X = a.X.slice(), i;
|
||||
}
|
||||
function s(a, i) {
|
||||
a == null && (a = +new Date());
|
||||
a == null && (a = +/* @__PURE__ */ new Date());
|
||||
var p = new o(a), u = i && i.state, c = function() {
|
||||
return (p.next() >>> 0) / 4294967296;
|
||||
};
|
||||
|
@ -1158,7 +1158,7 @@ var $k = Kt((_k, yd) => {
|
|||
return l && (C = l.randomBytes) ? C = C(o) : (C = new Uint8Array(o), (r.crypto || r.msCrypto).getRandomValues(C)), b(C);
|
||||
} catch (_) {
|
||||
var w = r.navigator, k = w && w.plugins;
|
||||
return [+new Date(), r, k, r.screen, b(e)];
|
||||
return [+/* @__PURE__ */ new Date(), r, k, r.screen, b(e)];
|
||||
}
|
||||
}
|
||||
function b(C) {
|
||||
|
@ -4809,7 +4809,7 @@ async function Op(r, e) {
|
|||
function Ms(r) {
|
||||
if (r.modelTopology instanceof ArrayBuffer)
|
||||
throw new Error("Expected JSON model topology, received ArrayBuffer.");
|
||||
return { dateSaved: new Date(), modelTopologyType: "JSON", modelTopologyBytes: r.modelTopology == null ? 0 : I0(JSON.stringify(r.modelTopology)), weightSpecsBytes: r.weightSpecs == null ? 0 : I0(JSON.stringify(r.weightSpecs)), weightDataBytes: r.weightData == null ? 0 : r.weightData.byteLength };
|
||||
return { dateSaved: /* @__PURE__ */ new Date(), modelTopologyType: "JSON", modelTopologyBytes: r.modelTopology == null ? 0 : I0(JSON.stringify(r.modelTopology)), weightSpecsBytes: r.weightSpecs == null ? 0 : I0(JSON.stringify(r.weightSpecs)), weightDataBytes: r.weightData == null ? 0 : r.weightData.byteLength };
|
||||
}
|
||||
function zm(r) {
|
||||
let e = [];
|
||||
|
@ -31020,7 +31020,7 @@ var tse = { tfjs: rV, "tfjs-core": rV, "tfjs-converter": Yne, "tfjs-backend-cpu"
|
|||
|
||||
// src/util/util.ts
|
||||
function log(...msg) {
|
||||
const dt2 = new Date();
|
||||
const dt2 = /* @__PURE__ */ new Date();
|
||||
const ts2 = `${dt2.getHours().toString().padStart(2, "0")}:${dt2.getMinutes().toString().padStart(2, "0")}:${dt2.getSeconds().toString().padStart(2, "0")}.${dt2.getMilliseconds().toString().padStart(3, "0")}`;
|
||||
if (msg)
|
||||
console.log(ts2, "Human:", ...msg);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -80,7 +80,7 @@
|
|||
"devDependencies": {
|
||||
"@html-eslint/eslint-plugin": "^0.16.0",
|
||||
"@html-eslint/parser": "^0.16.0",
|
||||
"@microsoft/api-extractor": "^7.34.3",
|
||||
"@microsoft/api-extractor": "^7.34.4",
|
||||
"@tensorflow/tfjs-backend-cpu": "^4.2.0",
|
||||
"@tensorflow/tfjs-backend-wasm": "^4.2.0",
|
||||
"@tensorflow/tfjs-backend-webgl": "^4.2.0",
|
||||
|
@ -91,15 +91,15 @@
|
|||
"@tensorflow/tfjs-layers": "^4.2.0",
|
||||
"@tensorflow/tfjs-node": "^4.2.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^4.2.0",
|
||||
"@types/node": "^18.11.19",
|
||||
"@types/node": "^18.13.0",
|
||||
"@types/offscreencanvas": "^2019.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
||||
"@typescript-eslint/parser": "^5.51.0",
|
||||
"@vladmandic/build": "0.7.15",
|
||||
"@vladmandic/build": "0.8.2",
|
||||
"@vladmandic/pilogger": "^0.4.7",
|
||||
"@vladmandic/tfjs": "github:vladmandic/tfjs",
|
||||
"canvas": "^2.11.0",
|
||||
"esbuild": "^0.17.6",
|
||||
"esbuild": "^0.17.7",
|
||||
"eslint": "8.33.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-html": "^7.1.0",
|
||||
|
|
100
test/build.log
100
test/build.log
|
@ -1,50 +1,50 @@
|
|||
2023-02-06 14:26:30 [32mDATA: [39m Build {"name":"@vladmandic/human","version":"3.0.5"}
|
||||
2023-02-06 14:26:30 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"3.0.5"}
|
||||
2023-02-06 14:26:30 [36mINFO: [39m Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||
2023-02-06 14:26:30 [36mINFO: [39m Toolchain: {"build":"0.7.15","esbuild":"0.16.17","typescript":"4.9.5","typedoc":"0.23.24","eslint":"8.33.0"}
|
||||
2023-02-06 14:26:30 [36mINFO: [39m Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Clean: {"locations":["dist/*","types/*","typedoc/*"]}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":361}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":569,"outputBytes":924}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":674251,"outputBytes":318951}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":577,"outputBytes":928}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":674255,"outputBytes":318955}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":665,"outputBytes":1876}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":675203,"outputBytes":319066}
|
||||
2023-02-06 14:26:30 [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":1375,"outputBytes":670}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":673997,"outputBytes":317523}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":1375,"outputBytes":1151306}
|
||||
2023-02-06 14:26:30 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1824633,"outputBytes":1464766}
|
||||
2023-02-06 14:26:31 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1824633,"outputBytes":1931611}
|
||||
2023-02-06 14:26:35 [35mSTATE:[39m Typings: {"input":"src/human.ts","output":"types/lib","files":15}
|
||||
2023-02-06 14:26:37 [35mSTATE:[39m TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":81,"generated":true}
|
||||
2023-02-06 14:26:37 [35mSTATE:[39m Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6235,"outputBytes":2901}
|
||||
2023-02-06 14:26:37 [35mSTATE:[39m Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":9403}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Lint: {"locations":["**/*.json","src/**/*.ts","test/**/*.js","demo/**/*.js","**/*.md"],"files":170,"errors":0,"warnings":0}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs-core.d.ts","output":"types/tfjs-core.d.ts"}
|
||||
2023-02-06 14:26:46 [36mINFO: [39m Done...
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs.d.ts","output":"types/tfjs.esm.d.ts"}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Copy: {"input":"src/types/tsconfig.json","output":"types/tsconfig.json"}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Copy: {"input":"src/types/eslint.json","output":"types/.eslintrc.json"}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Copy: {"input":"src/types/tfjs.esm.d.ts","output":"dist/tfjs.esm.d.ts"}
|
||||
2023-02-06 14:26:46 [35mSTATE:[39m Filter: {"input":"types/tfjs-core.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m API-Extractor: {"succeeeded":true,"errors":0,"warnings":210}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Filter: {"input":"types/human.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.esm-nobundle.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.esm.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.node-gpu.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.node.d.ts"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Write: {"output":"dist/human.node-wasm.d.ts"}
|
||||
2023-02-06 14:26:48 [36mINFO: [39m Analyze models: {"folders":8,"result":"models/models.json"}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"./models","models":12}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../human-models/models","models":44}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../blazepose/model/","models":4}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../anti-spoofing/model","models":1}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../efficientpose/models","models":3}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../insightface/models","models":5}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../movenet/models","models":3}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models {"folder":"../nanodet/models","models":4}
|
||||
2023-02-06 14:26:48 [35mSTATE:[39m Models: {"count":58,"totalSize":380063249}
|
||||
2023-02-06 14:26:48 [36mINFO: [39m Human Build complete... {"logFile":"test/build.log"}
|
||||
2023-02-10 13:39:49 [32mDATA: [39m Build {"name":"@vladmandic/human","version":"3.0.5"}
|
||||
2023-02-10 13:39:49 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"3.0.5"}
|
||||
2023-02-10 13:39:49 [36mINFO: [39m Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||
2023-02-10 13:39:49 [36mINFO: [39m Toolchain: {"build":"0.8.2","esbuild":"0.17.7","typescript":"4.9.5","typedoc":"0.23.24","eslint":"8.33.0"}
|
||||
2023-02-10 13:39:49 [36mINFO: [39m Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
|
||||
2023-02-10 13:39:49 [35mSTATE:[39m Clean: {"locations":["dist/*","types/*","typedoc/*"]}
|
||||
2023-02-10 13:39:49 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":361}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":569,"outputBytes":924}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":674249,"outputBytes":318951}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":577,"outputBytes":928}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":674253,"outputBytes":318955}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":665,"outputBytes":1876}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":675201,"outputBytes":319066}
|
||||
2023-02-10 13:39:50 [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":1375,"outputBytes":670}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":673995,"outputBytes":317523}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":1375,"outputBytes":1151306}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1824631,"outputBytes":1464766}
|
||||
2023-02-10 13:39:50 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1824631,"outputBytes":1931691}
|
||||
2023-02-10 13:39:54 [35mSTATE:[39m Typings: {"input":"src/human.ts","output":"types/lib","files":15}
|
||||
2023-02-10 13:39:56 [35mSTATE:[39m TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":81,"generated":true}
|
||||
2023-02-10 13:39:56 [35mSTATE:[39m Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6235,"outputBytes":2901}
|
||||
2023-02-10 13:39:56 [35mSTATE:[39m Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":9403}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Lint: {"locations":["**/*.json","src/**/*.ts","test/**/*.js","demo/**/*.js","**/*.md"],"files":170,"errors":0,"warnings":0}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs-core.d.ts","output":"types/tfjs-core.d.ts"}
|
||||
2023-02-10 13:40:05 [36mINFO: [39m Done...
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs.d.ts","output":"types/tfjs.esm.d.ts"}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Copy: {"input":"src/types/tsconfig.json","output":"types/tsconfig.json"}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Copy: {"input":"src/types/eslint.json","output":"types/.eslintrc.json"}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Copy: {"input":"src/types/tfjs.esm.d.ts","output":"dist/tfjs.esm.d.ts"}
|
||||
2023-02-10 13:40:05 [35mSTATE:[39m Filter: {"input":"types/tfjs-core.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m API-Extractor: {"succeeeded":true,"errors":0,"warnings":210}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Filter: {"input":"types/human.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.esm-nobundle.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.esm.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.node-gpu.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.node.d.ts"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Write: {"output":"dist/human.node-wasm.d.ts"}
|
||||
2023-02-10 13:40:06 [36mINFO: [39m Analyze models: {"folders":8,"result":"models/models.json"}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"./models","models":12}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../human-models/models","models":44}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../blazepose/model/","models":4}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../anti-spoofing/model","models":1}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../efficientpose/models","models":3}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../insightface/models","models":5}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../movenet/models","models":3}
|
||||
2023-02-10 13:40:06 [35mSTATE:[39m Models {"folder":"../nanodet/models","models":4}
|
||||
2023-02-10 13:40:07 [35mSTATE:[39m Models: {"count":58,"totalSize":380063249}
|
||||
2023-02-10 13:40:07 [36mINFO: [39m Human Build complete... {"logFile":"test/build.log"}
|
||||
|
|
Loading…
Reference in New Issue