mirror of https://github.com/vladmandic/human
rebuild
parent
605fbd29ef
commit
8d9e086bf3
|
@ -9,7 +9,10 @@
|
|||
|
||||
## Changelog
|
||||
|
||||
### **HEAD -> main** 2022/06/08 mandic00@live.com
|
||||
### **HEAD -> main** 2022/06/10 mandic00@live.com
|
||||
|
||||
|
||||
### **release: 2.8.1** 2022/06/08 mandic00@live.com
|
||||
|
||||
|
||||
### **2.8.1** 2022/06/08 mandic00@live.com
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,4 @@
|
|||
"use strict";
|
||||
/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
|
@ -13561,7 +13562,7 @@ var pr = class extends Is {
|
|||
c.push({ key: this.inputs[f], value: n[f] });
|
||||
let p = new Jr(c), d = Fu(this.outputs, p, { training: true }), h;
|
||||
for (let f = 0; f < this.lossFunctions.length; ++f) {
|
||||
let g = this.lossFunctions[f](s[f], d[f]);
|
||||
let m = this.lossFunctions[f], g = m(s[f], d[f]);
|
||||
r[f] != null && (g = HB(g, r[f]));
|
||||
let b = It(g);
|
||||
t.push(b), f === 0 ? h = g : h = oe(h, g);
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
*/
|
||||
|
||||
var tn=Object.create;var p2=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var sn=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var an=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},lt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nn(t))!An.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=on(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?tn(rn(e)):{},lt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>lt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(sn(e,typeof t!="symbol"?t+"":t,o),o),yt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(yt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(yt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=an((PA,E5)=>{var ct=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyNames,cn=Object.prototype.hasOwnProperty,k5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xn(t))!cn.call(e,r)&&r!==o&&ct(e,r,{get:()=>t[r],enumerable:!(n=yn(t,r))||n.enumerable});return e},dn=(e,t,o)=>(k5(e,t,"default"),o&&k5(o,t,"default")),fn=e=>k5(ct({},"__esModule",{value:!0}),e),dt={};E5.exports=fn(dt);dn(dt,require("@tensorflow/tfjs-node-gpu"),E5.exports)});var uA={};Se(uA,{Human:()=>rt,default:()=>rt,defaults:()=>me,draw:()=>Q1,env:()=>v,match:()=>nt,models:()=>P5});module.exports=ln(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function xt(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function w5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")w5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var ft=`
|
||||
var tn=Object.create;var p2=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var sn=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var an=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},lt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nn(t))!An.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=on(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?tn(rn(e)):{},lt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>lt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(sn(e,typeof t!="symbol"?t+"":t,o),o),yt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(yt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(yt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=an((PA,E5)=>{"use strict";var ct=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyNames,cn=Object.prototype.hasOwnProperty,k5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xn(t))!cn.call(e,r)&&r!==o&&ct(e,r,{get:()=>t[r],enumerable:!(n=yn(t,r))||n.enumerable});return e},dn=(e,t,o)=>(k5(e,t,"default"),o&&k5(o,t,"default")),fn=e=>k5(ct({},"__esModule",{value:!0}),e),dt={};E5.exports=fn(dt);dn(dt,require("@tensorflow/tfjs-node-gpu"),E5.exports)});var uA={};Se(uA,{Human:()=>rt,default:()=>rt,defaults:()=>me,draw:()=>Q1,env:()=>v,match:()=>nt,models:()=>P5});module.exports=ln(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function xt(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function w5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")w5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var ft=`
|
||||
precision highp float;
|
||||
attribute vec2 pos;
|
||||
attribute vec2 uv;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
*/
|
||||
|
||||
var on=Object.create;var p2=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,sn=Object.prototype.hasOwnProperty;var an=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},yt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of rn(t))!sn.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=nn(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?on(An(e)):{},yt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),yn=e=>yt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(an(e,typeof t!="symbol"?t+"":t,o),o),xt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(xt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(xt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=ln((PA,I2)=>{var dt=Object.defineProperty,xn=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyNames,dn=Object.prototype.hasOwnProperty,E5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of cn(t))!dn.call(e,r)&&r!==o&&dt(e,r,{get:()=>t[r],enumerable:!(n=xn(t,r))||n.enumerable});return e},ft=(e,t,o)=>(E5(e,t,"default"),o&&E5(o,t,"default")),fn=e=>E5(dt({},"__esModule",{value:!0}),e),z5={};I2.exports=fn(z5);ft(z5,require("@tensorflow/tfjs"),I2.exports);ft(z5,require("@tensorflow/tfjs-backend-wasm"),I2.exports)});var uA={};Se(uA,{Human:()=>At,default:()=>At,defaults:()=>me,draw:()=>_1,env:()=>v,match:()=>rt,models:()=>M5});module.exports=yn(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function ct(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function k5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")k5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var mt=`
|
||||
var on=Object.create;var p2=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var An=Object.getPrototypeOf,sn=Object.prototype.hasOwnProperty;var an=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},yt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of rn(t))!sn.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=nn(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?on(An(e)):{},yt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),yn=e=>yt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(an(e,typeof t!="symbol"?t+"":t,o),o),xt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(xt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(xt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=ln((PA,I2)=>{"use strict";var dt=Object.defineProperty,xn=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyNames,dn=Object.prototype.hasOwnProperty,E5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of cn(t))!dn.call(e,r)&&r!==o&&dt(e,r,{get:()=>t[r],enumerable:!(n=xn(t,r))||n.enumerable});return e},ft=(e,t,o)=>(E5(e,t,"default"),o&&E5(o,t,"default")),fn=e=>E5(dt({},"__esModule",{value:!0}),e),z5={};I2.exports=fn(z5);ft(z5,require("@tensorflow/tfjs"),I2.exports);ft(z5,require("@tensorflow/tfjs-backend-wasm"),I2.exports)});var uA={};Se(uA,{Human:()=>At,default:()=>At,defaults:()=>me,draw:()=>_1,env:()=>v,match:()=>rt,models:()=>M5});module.exports=yn(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function ct(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function k5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")k5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var mt=`
|
||||
precision highp float;
|
||||
attribute vec2 pos;
|
||||
attribute vec2 uv;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
*/
|
||||
|
||||
var tn=Object.create;var p2=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var sn=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var an=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},lt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nn(t))!An.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=on(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?tn(rn(e)):{},lt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>lt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(sn(e,typeof t!="symbol"?t+"":t,o),o),yt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(yt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(yt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=an((PA,E5)=>{var ct=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyNames,cn=Object.prototype.hasOwnProperty,k5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xn(t))!cn.call(e,r)&&r!==o&&ct(e,r,{get:()=>t[r],enumerable:!(n=yn(t,r))||n.enumerable});return e},dn=(e,t,o)=>(k5(e,t,"default"),o&&k5(o,t,"default")),fn=e=>k5(ct({},"__esModule",{value:!0}),e),dt={};E5.exports=fn(dt);dn(dt,require("@tensorflow/tfjs-node"),E5.exports)});var uA={};Se(uA,{Human:()=>rt,default:()=>rt,defaults:()=>me,draw:()=>Q1,env:()=>v,match:()=>nt,models:()=>P5});module.exports=ln(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function xt(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function w5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")w5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var ft=`
|
||||
var tn=Object.create;var p2=Object.defineProperty;var on=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var rn=Object.getPrototypeOf,An=Object.prototype.hasOwnProperty;var sn=(e,t,o)=>t in e?p2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var an=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Se=(e,t)=>{for(var o in t)p2(e,o,{get:t[o],enumerable:!0})},lt=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of nn(t))!An.call(e,r)&&r!==o&&p2(e,r,{get:()=>t[r],enumerable:!(n=on(t,r))||n.enumerable});return e};var D=(e,t,o)=>(o=e!=null?tn(rn(e)):{},lt(t||!e||!e.__esModule?p2(o,"default",{value:e,enumerable:!0}):o,e)),ln=e=>lt(p2({},"__esModule",{value:!0}),e);var T=(e,t,o)=>(sn(e,typeof t!="symbol"?t+"":t,o),o),yt=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var u2=(e,t,o)=>(yt(e,t,"read from private field"),o?o.call(e):t.get(e)),h2=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},b2=(e,t,o,n)=>(yt(e,t,"write to private field"),n?n.call(e,o):t.set(e,o),o);var H=an((PA,E5)=>{"use strict";var ct=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyNames,cn=Object.prototype.hasOwnProperty,k5=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of xn(t))!cn.call(e,r)&&r!==o&&ct(e,r,{get:()=>t[r],enumerable:!(n=yn(t,r))||n.enumerable});return e},dn=(e,t,o)=>(k5(e,t,"default"),o&&k5(o,t,"default")),fn=e=>k5(ct({},"__esModule",{value:!0}),e),dt={};E5.exports=fn(dt);dn(dt,require("@tensorflow/tfjs-node"),E5.exports)});var uA={};Se(uA,{Human:()=>rt,default:()=>rt,defaults:()=>me,draw:()=>Q1,env:()=>v,match:()=>nt,models:()=>P5});module.exports=ln(uA);function p(...e){let t=new Date,o=`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}`;e&&console.log(o,"Human:",...e)}function xt(e,t){let o=e.endsWith("/")?"":"/",r=t.startsWith(".")||t.startsWith("/")||t.startsWith("http:")||t.startsWith("https:")||t.startsWith("file:")?`${t}`:`${e}${o}${t}`;if(!r.toLocaleLowerCase().includes(".json"))throw new Error(`modelpath error: expecting json file: ${r}`);return r}var h=()=>typeof performance!="undefined"?performance.now():parseInt((Number(process.hrtime.bigint())/1e3/1e3).toString());function w5(e,t,o="config",n=[]){for(let r of Object.keys(t))if(typeof t[r]=="object")w5(e[r],t[r],r,n);else{let A=e&&typeof e[r]!="undefined";A||n.push({reason:"unknown property",where:`${o}.${r} = ${t[r]}`});let s=e&&typeof e[r]==typeof t[r];A&&!s&&n.push({reason:"property type mismatch",where:`${o}.${r} = ${t[r]}`,expected:typeof e[r]})}return t.debug&&o==="config"&&n.length>0&&p("invalid configuration",n),n}function r0(...e){let t=o=>o&&typeof o=="object";return e.reduce((o,n)=>(Object.keys(n||{}).forEach(r=>{let A=o[r],s=n[r];Array.isArray(A)&&Array.isArray(s)?o[r]=A.concat(...s):t(A)&&t(s)?o[r]=r0(A,s):o[r]=s}),o),{})}var me={backend:"",modelBasePath:"",cacheModels:!0,wasmPath:"",wasmPlatformFetch:!1,debug:!0,async:!0,warmup:"full",cacheSensitivity:.7,skipAllowed:!1,deallocate:!1,filter:{enabled:!0,equalization:!1,width:0,height:0,flip:!1,return:!0,brightness:0,contrast:0,sharpness:0,blur:0,saturation:0,hue:0,negative:!1,sepia:!1,vintage:!1,kodachrome:!1,technicolor:!1,polaroid:!1,pixelate:0},gesture:{enabled:!0},face:{enabled:!0,detector:{modelPath:"blazeface.json",rotation:!0,maxDetected:1,skipFrames:99,skipTime:2500,minConfidence:.2,iouThreshold:.1,mask:!1,return:!1},mesh:{enabled:!0,modelPath:"facemesh.json",keepInvalid:!1},attention:{enabled:!1,modelPath:"facemesh-attention.json"},iris:{enabled:!0,modelPath:"iris.json"},emotion:{enabled:!0,minConfidence:.1,skipFrames:99,skipTime:1500,modelPath:"emotion.json"},description:{enabled:!0,modelPath:"faceres.json",skipFrames:99,skipTime:3e3,minConfidence:.1},antispoof:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"antispoof.json"},liveness:{enabled:!1,skipFrames:99,skipTime:4e3,modelPath:"liveness.json"}},body:{enabled:!0,modelPath:"movenet-lightning.json",maxDetected:-1,minConfidence:.3,skipFrames:1,skipTime:200},hand:{enabled:!0,rotation:!0,skipFrames:99,skipTime:1e3,minConfidence:.5,iouThreshold:.2,maxDetected:-1,landmarks:!0,detector:{modelPath:"handtrack.json"},skeleton:{modelPath:"handlandmark-full.json"}},object:{enabled:!1,modelPath:"mb3-centernet.json",minConfidence:.2,iouThreshold:.4,maxDetected:10,skipFrames:99,skipTime:2e3},segmentation:{enabled:!1,modelPath:"selfie.json",blur:8}};var m0=D(H());var N=D(H());var ft=`
|
||||
precision highp float;
|
||||
attribute vec2 pos;
|
||||
attribute vec2 uv;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
"use strict";/*
|
||||
Human
|
||||
homepage: <https://github.com/vladmandic/human>
|
||||
author: <https://github.com/vladmandic>'
|
||||
|
|
14
package.json
14
package.json
|
@ -53,7 +53,7 @@
|
|||
"tensorflow"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@microsoft/api-extractor": "^7.25.0",
|
||||
"@microsoft/api-extractor": "^7.25.2",
|
||||
"@tensorflow/tfjs": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-wasm": "^3.18.0",
|
||||
|
@ -65,17 +65,17 @@
|
|||
"@tensorflow/tfjs-layers": "^3.18.0",
|
||||
"@tensorflow/tfjs-node": "^3.18.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^3.18.0",
|
||||
"@types/node": "^17.0.41",
|
||||
"@types/node": "^18.0.0",
|
||||
"@types/offscreencanvas": "^2019.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
||||
"@typescript-eslint/parser": "^5.27.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.29.0",
|
||||
"@typescript-eslint/parser": "^5.29.0",
|
||||
"@vladmandic/build": "^0.7.4",
|
||||
"@vladmandic/pilogger": "^0.4.4",
|
||||
"@vladmandic/tfjs": "github:vladmandic/tfjs",
|
||||
"canvas": "^2.9.1",
|
||||
"dayjs": "^1.11.3",
|
||||
"esbuild": "^0.14.43",
|
||||
"eslint": "8.17.0",
|
||||
"esbuild": "^0.14.47",
|
||||
"eslint": "8.18.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-html": "^6.2.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
|
@ -87,6 +87,6 @@
|
|||
"seedrandom": "^3.0.5",
|
||||
"tslib": "^2.4.0",
|
||||
"typedoc": "0.22.17",
|
||||
"typescript": "4.7.3"
|
||||
"typescript": "4.7.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
2022-06-10 08:46:48 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"2.8.1"}
|
||||
2022-06-10 08:46:48 [36mINFO: [39m Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||
2022-06-10 08:46:48 [36mINFO: [39m Toolchain: {"build":"0.7.3","esbuild":"0.14.43","typescript":"4.7.3","typedoc":"0.22.17","eslint":"8.17.0"}
|
||||
2022-06-10 08:46:48 [36mINFO: [39m Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
|
||||
2022-06-10 08:46: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":595}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":73,"inputBytes":642827,"outputBytes":300685}
|
||||
2022-06-10 08:46: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":599}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":73,"inputBytes":642831,"outputBytes":300689}
|
||||
2022-06-10 08:46: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":651}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":73,"inputBytes":642883,"outputBytes":300739}
|
||||
2022-06-10 08:46: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":1069,"outputBytes":358}
|
||||
2022-06-10 08:46: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":1032,"outputBytes":583}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":73,"inputBytes":642815,"outputBytes":299595}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/custom","format":"esm","platform":"browser","input":"tfjs/tf-custom.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1353524}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":73,"inputBytes":1995756,"outputBytes":1652193}
|
||||
2022-06-10 08:46:48 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":73,"inputBytes":1995756,"outputBytes":2139052}
|
||||
2022-06-10 08:46:54 [35mSTATE:[39m Typings: {"input":"src/human.ts","output":"types/lib","files":116}
|
||||
2022-06-10 08:46:56 [35mSTATE:[39m TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":73,"generated":true}
|
||||
2022-06-10 08:46:56 [35mSTATE:[39m Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6326,"outputBytes":3057}
|
||||
2022-06-10 08:46:56 [35mSTATE:[39m Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":15174,"outputBytes":7820}
|
||||
2022-06-10 08:47:05 [35mSTATE:[39m Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":106,"errors":0,"warnings":0}
|
||||
2022-06-10 08:47:05 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
||||
2022-06-10 08:47:05 [36mINFO: [39m Done...
|
||||
2022-06-21 13:20:54 [36mINFO: [39m Application: {"name":"@vladmandic/human","version":"2.8.1"}
|
||||
2022-06-21 13:20:54 [36mINFO: [39m Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
|
||||
2022-06-21 13:20:54 [36mINFO: [39m Toolchain: {"build":"0.7.3","esbuild":"0.14.47","typescript":"4.7.4","typedoc":"0.22.17","eslint":"8.18.0"}
|
||||
2022-06-21 13:20:54 [36mINFO: [39m Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
|
||||
2022-06-21 13:20:54 [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":608}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":73,"inputBytes":642839,"outputBytes":300711}
|
||||
2022-06-21 13:20:54 [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":612}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":73,"inputBytes":642843,"outputBytes":300715}
|
||||
2022-06-21 13:20:54 [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":664}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":73,"inputBytes":642895,"outputBytes":300765}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1069,"outputBytes":371}
|
||||
2022-06-21 13:20:54 [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":1045,"outputBytes":596}
|
||||
2022-06-21 13:20:54 [35mSTATE:[39m Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":73,"inputBytes":642827,"outputBytes":299608}
|
||||
2022-06-21 13:20:55 [35mSTATE:[39m Compile: {"name":"tfjs/browser/esm/custom","format":"esm","platform":"browser","input":"tfjs/tf-custom.ts","output":"dist/tfjs.esm.js","files":1,"inputBytes":110,"outputBytes":1353541}
|
||||
2022-06-21 13:20:55 [35mSTATE:[39m Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":73,"inputBytes":1995772,"outputBytes":1652210}
|
||||
2022-06-21 13:20:55 [35mSTATE:[39m Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":73,"inputBytes":1995772,"outputBytes":2139073}
|
||||
2022-06-21 13:21:07 [35mSTATE:[39m Typings: {"input":"src/human.ts","output":"types/lib","files":116}
|
||||
2022-06-21 13:21:13 [35mSTATE:[39m TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":73,"generated":true}
|
||||
2022-06-21 13:21:13 [35mSTATE:[39m Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6326,"outputBytes":3070}
|
||||
2022-06-21 13:21:13 [35mSTATE:[39m Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":15174,"outputBytes":7833}
|
||||
2022-06-21 13:22:08 [35mSTATE:[39m Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":106,"errors":0,"warnings":0}
|
||||
2022-06-21 13:22:08 [35mSTATE:[39m ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
|
||||
2022-06-21 13:22:08 [36mINFO: [39m Done...
|
||||
|
|
1368
test/test.log
1368
test/test.log
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue