From 0086a9169de3df29d8c3ef15478c88c12ee55dbf Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sat, 19 Mar 2022 11:02:30 -0400 Subject: [PATCH] prototype precompile pass --- CHANGELOG.md | 1 + demo/typescript/index.js | 4 +- demo/typescript/index.js.map | 4 +- demo/typescript/index.ts | 2 +- src/face/blazeface.ts | 1 - src/warmup.ts | 55 +- test/build.log | 48 +- test/test.log | 1368 +++++++++++++++++----------------- 8 files changed, 760 insertions(+), 723 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32f512d5..3b331be3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ### **HEAD -> main** 2022/03/16 mandic00@live.com +- fix indexdb config check ### **2.6.4** 2022/02/27 mandic00@live.com diff --git a/demo/typescript/index.js b/demo/typescript/index.js index 81c8002a..24d94078 100644 --- a/demo/typescript/index.js +++ b/demo/typescript/index.js @@ -4,8 +4,8 @@ author: ' */ -import{Human as p}from"../../dist/human.esm.js";var w={modelBasePath:"../../models",filter:{enabled:!0,equalization:!1},face:{enabled:!0,detector:{rotation:!1},mesh:{enabled:!0},iris:{enabled:!0},description:{enabled:!0},emotion:{enabled:!0}},body:{enabled:!0},hand:{enabled:!0},object:{enabled:!1},gesture:{enabled:!0}},t=new p(w);t.env.perfadd=!1;t.draw.options.font='small-caps 18px "Lato"';t.draw.options.lineHeight=20;var e={video:document.getElementById("video"),canvas:document.getElementById("canvas"),log:document.getElementById("log"),fps:document.getElementById("status"),perf:document.getElementById("performance")},i={detect:0,draw:0,tensors:0},d={detect:0,draw:0},s=(...a)=>{e.log.innerText+=a.join(" ")+` -`,console.log(...a)},r=a=>e.fps.innerText=a,b=a=>e.perf.innerText="tensors:"+t.tf.memory().numTensors+" | performance: "+JSON.stringify(a).replace(/"|{|}/g,"").replace(/,/g," | ");async function h(){r("starting webcam...");let a={audio:!1,video:{facingMode:"user",resizeMode:"none",width:{ideal:document.body.clientWidth}}},n=await navigator.mediaDevices.getUserMedia(a),m=new Promise(f=>{e.video.onloadeddata=()=>f(!0)});e.video.srcObject=n,e.video.play(),await m,e.canvas.width=e.video.videoWidth,e.canvas.height=e.video.videoHeight;let o=n.getVideoTracks()[0],v=o.getCapabilities?o.getCapabilities():"",g=o.getSettings?o.getSettings():"",u=o.getConstraints?o.getConstraints():"";s("video:",e.video.videoWidth,e.video.videoHeight,o.label,{stream:n,track:o,settings:g,constraints:u,capabilities:v}),e.canvas.onclick=()=>{e.video.paused?e.video.play():e.video.pause()}}async function c(){if(!e.video.paused){await t.detect(e.video);let n=t.tf.memory().numTensors;n-i.tensors!==0&&s("allocated tensors:",n-i.tensors),i.tensors=n}let a=t.now();d.detect=1e3/(a-i.detect),i.detect=a,requestAnimationFrame(c)}async function l(){if(!e.video.paused){let n=await t.next(t.result);await t.draw.canvas(e.video,e.canvas),await t.draw.all(e.canvas,n),b(n.performance)}let a=t.now();d.draw=1e3/(a-i.draw),i.draw=a,r(e.video.paused?"paused":`fps: ${d.detect.toFixed(1).padStart(5," ")} detect | ${d.draw.toFixed(1).padStart(5," ")} draw`),setTimeout(l,30)}async function y(){s("human version:",t.version,"| tfjs version:",t.tf.version["tfjs-core"]),s("platform:",t.env.platform,"| agent:",t.env.agent),r("loading..."),await t.load(),s("backend:",t.tf.getBackend(),"| available:",t.env.backends),s("loaded models:",Object.values(t.models).filter(a=>a!==null).length),r("initializing..."),await t.warmup(),await h(),await c(),await l()}window.onload=y; +import{Human as p}from"../../dist/human.esm.js";var w={modelBasePath:"../../models",filter:{enabled:!0,equalization:!1},face:{enabled:!0,detector:{rotation:!1},mesh:{enabled:!0},iris:{enabled:!0},description:{enabled:!0},emotion:{enabled:!0}},body:{enabled:!0},hand:{enabled:!0},object:{enabled:!0},gesture:{enabled:!0}},t=new p(w);t.env.perfadd=!1;t.draw.options.font='small-caps 18px "Lato"';t.draw.options.lineHeight=20;var e={video:document.getElementById("video"),canvas:document.getElementById("canvas"),log:document.getElementById("log"),fps:document.getElementById("status"),perf:document.getElementById("performance")},i={detect:0,draw:0,tensors:0},d={detect:0,draw:0},s=(...a)=>{e.log.innerText+=a.join(" ")+` +`,console.log(...a)},r=a=>e.fps.innerText=a,b=a=>e.perf.innerText="tensors:"+t.tf.memory().numTensors+" | performance: "+JSON.stringify(a).replace(/"|{|}/g,"").replace(/,/g," | ");async function h(){r("starting webcam...");let a={audio:!1,video:{facingMode:"user",resizeMode:"none",width:{ideal:document.body.clientWidth}}},n=await navigator.mediaDevices.getUserMedia(a),m=new Promise(f=>{e.video.onloadeddata=()=>f(!0)});e.video.srcObject=n,e.video.play(),await m,e.canvas.width=e.video.videoWidth,e.canvas.height=e.video.videoHeight;let o=n.getVideoTracks()[0],u=o.getCapabilities?o.getCapabilities():"",v=o.getSettings?o.getSettings():"",g=o.getConstraints?o.getConstraints():"";s("video:",e.video.videoWidth,e.video.videoHeight,o.label,{stream:n,track:o,settings:v,constraints:g,capabilities:u}),e.canvas.onclick=()=>{e.video.paused?e.video.play():e.video.pause()}}async function c(){if(!e.video.paused){await t.detect(e.video);let n=t.tf.memory().numTensors;n-i.tensors!==0&&s("allocated tensors:",n-i.tensors),i.tensors=n}let a=t.now();d.detect=1e3/(a-i.detect),i.detect=a,requestAnimationFrame(c)}async function l(){if(!e.video.paused){let n=await t.next(t.result);await t.draw.canvas(e.video,e.canvas),await t.draw.all(e.canvas,n),b(n.performance)}let a=t.now();d.draw=1e3/(a-i.draw),i.draw=a,r(e.video.paused?"paused":`fps: ${d.detect.toFixed(1).padStart(5," ")} detect | ${d.draw.toFixed(1).padStart(5," ")} draw`),setTimeout(l,30)}async function y(){s("human version:",t.version,"| tfjs version:",t.tf.version["tfjs-core"]),s("platform:",t.env.platform,"| agent:",t.env.agent),r("loading..."),await t.load(),s("backend:",t.tf.getBackend(),"| available:",t.env.backends),s("loaded models:",Object.values(t.models).filter(a=>a!==null).length),r("initializing..."),await t.warmup(),await h(),await c(),await l()}window.onload=y; /** * Human demo for browsers * @default Human Library diff --git a/demo/typescript/index.js.map b/demo/typescript/index.js.map index d092c8cf..518c681f 100644 --- a/demo/typescript/index.js.map +++ b/demo/typescript/index.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["index.ts"], - "sourcesContent": ["/**\n * Human demo for browsers\n * @default Human Library\n * @summary \n * @author \n * @copyright \n * @license MIT\n */\n\nimport { Human, Config } from '../../dist/human.esm.js'; // equivalent of @vladmandic/Human\n\nconst humanConfig: Partial = { // user configuration for human, used to fine-tune behavior\n // backend: 'webgpu' as const,\n // async: true,\n modelBasePath: '../../models',\n filter: { enabled: true, equalization: false },\n face: { enabled: true, detector: { rotation: false }, mesh: { enabled: true }, iris: { enabled: true }, description: { enabled: true }, emotion: { enabled: true } },\n body: { enabled: true },\n hand: { enabled: true },\n object: { enabled: false },\n gesture: { enabled: true },\n};\n\nconst human = new Human(humanConfig); // create instance of human with overrides from user configuration\n\nhuman.env['perfadd'] = false; // is performance data showing instant or total values\nhuman.draw.options.font = 'small-caps 18px \"Lato\"'; // set font used to draw labels when using draw methods\nhuman.draw.options.lineHeight = 20;\n\nconst dom = { // grab instances of dom objects so we dont have to look them up later\n video: document.getElementById('video') as HTMLVideoElement,\n canvas: document.getElementById('canvas') as HTMLCanvasElement,\n log: document.getElementById('log') as HTMLPreElement,\n fps: document.getElementById('status') as HTMLPreElement,\n perf: document.getElementById('performance') as HTMLDivElement,\n};\nconst timestamp = { detect: 0, draw: 0, tensors: 0 }; // holds information used to calculate performance and possible memory leaks\nconst fps = { detect: 0, draw: 0 }; // holds calculated fps information for both detect and screen refresh\n\nconst log = (...msg) => { // helper method to output messages\n dom.log.innerText += msg.join(' ') + '\\n';\n // eslint-disable-next-line no-console\n console.log(...msg);\n};\nconst status = (msg) => dom.fps.innerText = msg; // print status element\nconst perf = (msg) => dom.perf.innerText = 'tensors:' + human.tf.memory().numTensors + ' | performance: ' + JSON.stringify(msg).replace(/\"|{|}/g, '').replace(/,/g, ' | '); // print performance element\n\nasync function webCam() { // initialize webcam\n status('starting webcam...');\n // @ts-ignore resizeMode is not yet defined in tslib\n const options: MediaStreamConstraints = { audio: false, video: { facingMode: 'user', resizeMode: 'none', width: { ideal: document.body.clientWidth } } };\n const stream: MediaStream = await navigator.mediaDevices.getUserMedia(options);\n const ready = new Promise((resolve) => { dom.video.onloadeddata = () => resolve(true); });\n dom.video.srcObject = stream;\n dom.video.play();\n await ready;\n dom.canvas.width = dom.video.videoWidth;\n dom.canvas.height = dom.video.videoHeight;\n const track: MediaStreamTrack = stream.getVideoTracks()[0];\n const capabilities: MediaTrackCapabilities | string = track.getCapabilities ? track.getCapabilities() : '';\n const settings: MediaTrackSettings | string = track.getSettings ? track.getSettings() : '';\n const constraints: MediaTrackConstraints | string = track.getConstraints ? track.getConstraints() : '';\n log('video:', dom.video.videoWidth, dom.video.videoHeight, track.label, { stream, track, settings, constraints, capabilities });\n dom.canvas.onclick = () => { // pause when clicked on screen and resume on next click\n if (dom.video.paused) dom.video.play();\n else dom.video.pause();\n };\n}\n\nasync function detectionLoop() { // main detection loop\n if (!dom.video.paused) {\n // console.log('profiling data:', await human.profile(dom.video));\n await human.detect(dom.video); // actual detection; were not capturing output in a local variable as it can also be reached via human.result\n const tensors = human.tf.memory().numTensors; // check current tensor usage for memory leaks\n if (tensors - timestamp.tensors !== 0) log('allocated tensors:', tensors - timestamp.tensors); // printed on start and each time there is a tensor leak\n timestamp.tensors = tensors;\n }\n const now = human.now();\n fps.detect = 1000 / (now - timestamp.detect);\n timestamp.detect = now;\n requestAnimationFrame(detectionLoop); // start new frame immediately\n}\n\nasync function drawLoop() { // main screen refresh loop\n if (!dom.video.paused) {\n const interpolated = await human.next(human.result); // smoothen result using last-known results\n await human.draw.canvas(dom.video, dom.canvas); // draw canvas to screen\n await human.draw.all(dom.canvas, interpolated); // draw labels, boxes, lines, etc.\n perf(interpolated.performance); // write performance data\n }\n const now = human.now();\n fps.draw = 1000 / (now - timestamp.draw);\n timestamp.draw = now;\n status(dom.video.paused ? 'paused' : `fps: ${fps.detect.toFixed(1).padStart(5, ' ')} detect | ${fps.draw.toFixed(1).padStart(5, ' ')} draw`); // write status\n // requestAnimationFrame(drawLoop); // refresh at screen refresh rate\n setTimeout(drawLoop, 30); // use to slow down refresh from max refresh rate to target of 30 fps\n}\n\nasync function main() { // main entry point\n log('human version:', human.version, '| tfjs version:', human.tf.version['tfjs-core']);\n log('platform:', human.env.platform, '| agent:', human.env.agent);\n status('loading...');\n await human.load(); // preload all models\n log('backend:', human.tf.getBackend(), '| available:', human.env.backends);\n log('loaded models:', Object.values(human.models).filter((model) => model !== null).length);\n status('initializing...');\n await human.warmup(); // warmup function to initialize backend for future faster detection\n await webCam(); // start webcam\n await detectionLoop(); // start detection loop\n await drawLoop(); // start draw loop\n}\n\nwindow.onload = main;\n"], - "mappings": ";;;;;;AASA,gDATA,AAWA,GAAM,GAA+B,CAGnC,cAAe,eACf,OAAQ,CAAE,QAAS,GAAM,aAAc,EAAM,EAC7C,KAAM,CAAE,QAAS,GAAM,SAAU,CAAE,SAAU,EAAM,EAAG,KAAM,CAAE,QAAS,EAAK,EAAG,KAAM,CAAE,QAAS,EAAK,EAAG,YAAa,CAAE,QAAS,EAAK,EAAG,QAAS,CAAE,QAAS,EAAK,CAAE,EACnK,KAAM,CAAE,QAAS,EAAK,EACtB,KAAM,CAAE,QAAS,EAAK,EACtB,OAAQ,CAAE,QAAS,EAAM,EACzB,QAAS,CAAE,QAAS,EAAK,CAC3B,EAEM,EAAQ,GAAI,GAAM,CAAW,EAEnC,EAAM,IAAI,QAAa,GACvB,EAAM,KAAK,QAAQ,KAAO,yBAC1B,EAAM,KAAK,QAAQ,WAAa,GAEhC,GAAM,GAAM,CACV,MAAO,SAAS,eAAe,OAAO,EACtC,OAAQ,SAAS,eAAe,QAAQ,EACxC,IAAK,SAAS,eAAe,KAAK,EAClC,IAAK,SAAS,eAAe,QAAQ,EACrC,KAAM,SAAS,eAAe,aAAa,CAC7C,EACM,EAAY,CAAE,OAAQ,EAAG,KAAM,EAAG,QAAS,CAAE,EAC7C,EAAM,CAAE,OAAQ,EAAG,KAAM,CAAE,EAE3B,EAAM,IAAI,IAAQ,CACtB,EAAI,IAAI,WAAa,EAAI,KAAK,GAAG,EAAI;AAAA,EAErC,QAAQ,IAAI,GAAG,CAAG,CACpB,EACM,EAAS,AAAC,GAAQ,EAAI,IAAI,UAAY,EACtC,EAAO,AAAC,GAAQ,EAAI,KAAK,UAAY,WAAa,EAAM,GAAG,OAAO,EAAE,WAAa,mBAAqB,KAAK,UAAU,CAAG,EAAE,QAAQ,SAAU,EAAE,EAAE,QAAQ,KAAM,KAAK,EAEzK,kBAAwB,CACtB,EAAO,oBAAoB,EAE3B,GAAM,GAAkC,CAAE,MAAO,GAAO,MAAO,CAAE,WAAY,OAAQ,WAAY,OAAQ,MAAO,CAAE,MAAO,SAAS,KAAK,WAAY,CAAE,CAAE,EACjJ,EAAsB,KAAM,WAAU,aAAa,aAAa,CAAO,EACvE,EAAQ,GAAI,SAAQ,AAAC,GAAY,CAAE,EAAI,MAAM,aAAe,IAAM,EAAQ,EAAI,CAAG,CAAC,EACxF,EAAI,MAAM,UAAY,EACtB,EAAI,MAAM,KAAK,EACf,KAAM,GACN,EAAI,OAAO,MAAQ,EAAI,MAAM,WAC7B,EAAI,OAAO,OAAS,EAAI,MAAM,YAC9B,GAAM,GAA0B,EAAO,eAAe,EAAE,GAClD,EAAgD,EAAM,gBAAkB,EAAM,gBAAgB,EAAI,GAClG,EAAwC,EAAM,YAAc,EAAM,YAAY,EAAI,GAClF,EAA8C,EAAM,eAAiB,EAAM,eAAe,EAAI,GACpG,EAAI,SAAU,EAAI,MAAM,WAAY,EAAI,MAAM,YAAa,EAAM,MAAO,CAAE,SAAQ,QAAO,WAAU,cAAa,cAAa,CAAC,EAC9H,EAAI,OAAO,QAAU,IAAM,CACzB,AAAI,EAAI,MAAM,OAAQ,EAAI,MAAM,KAAK,EAChC,EAAI,MAAM,MAAM,CACvB,CACF,CAEA,kBAA+B,CAC7B,GAAI,CAAC,EAAI,MAAM,OAAQ,CAErB,KAAM,GAAM,OAAO,EAAI,KAAK,EAC5B,GAAM,GAAU,EAAM,GAAG,OAAO,EAAE,WAClC,AAAI,EAAU,EAAU,UAAY,GAAG,EAAI,qBAAsB,EAAU,EAAU,OAAO,EAC5F,EAAU,QAAU,CACtB,CACA,GAAM,GAAM,EAAM,IAAI,EACtB,EAAI,OAAS,IAAQ,GAAM,EAAU,QACrC,EAAU,OAAS,EACnB,sBAAsB,CAAa,CACrC,CAEA,kBAA0B,CACxB,GAAI,CAAC,EAAI,MAAM,OAAQ,CACrB,GAAM,GAAe,KAAM,GAAM,KAAK,EAAM,MAAM,EAClD,KAAM,GAAM,KAAK,OAAO,EAAI,MAAO,EAAI,MAAM,EAC7C,KAAM,GAAM,KAAK,IAAI,EAAI,OAAQ,CAAY,EAC7C,EAAK,EAAa,WAAW,CAC/B,CACA,GAAM,GAAM,EAAM,IAAI,EACtB,EAAI,KAAO,IAAQ,GAAM,EAAU,MACnC,EAAU,KAAO,EACjB,EAAO,EAAI,MAAM,OAAS,SAAW,QAAQ,EAAI,OAAO,QAAQ,CAAC,EAAE,SAAS,EAAG,GAAG,cAAc,EAAI,KAAK,QAAQ,CAAC,EAAE,SAAS,EAAG,GAAG,QAAQ,EAE3I,WAAW,EAAU,EAAE,CACzB,CAEA,kBAAsB,CACpB,EAAI,iBAAkB,EAAM,QAAS,kBAAmB,EAAM,GAAG,QAAQ,YAAY,EACrF,EAAI,YAAa,EAAM,IAAI,SAAU,WAAY,EAAM,IAAI,KAAK,EAChE,EAAO,YAAY,EACnB,KAAM,GAAM,KAAK,EACjB,EAAI,WAAY,EAAM,GAAG,WAAW,EAAG,eAAgB,EAAM,IAAI,QAAQ,EACzE,EAAI,iBAAkB,OAAO,OAAO,EAAM,MAAM,EAAE,OAAO,AAAC,GAAU,IAAU,IAAI,EAAE,MAAM,EAC1F,EAAO,iBAAiB,EACxB,KAAM,GAAM,OAAO,EACnB,KAAM,GAAO,EACb,KAAM,GAAc,EACpB,KAAM,GAAS,CACjB,CAEA,OAAO,OAAS", + "sourcesContent": ["/**\n * Human demo for browsers\n * @default Human Library\n * @summary \n * @author \n * @copyright \n * @license MIT\n */\n\nimport { Human, Config } from '../../dist/human.esm.js'; // equivalent of @vladmandic/Human\n\nconst humanConfig: Partial = { // user configuration for human, used to fine-tune behavior\n // backend: 'webgpu' as const,\n // async: true,\n modelBasePath: '../../models',\n filter: { enabled: true, equalization: false },\n face: { enabled: true, detector: { rotation: false }, mesh: { enabled: true }, iris: { enabled: true }, description: { enabled: true }, emotion: { enabled: true } },\n body: { enabled: true },\n hand: { enabled: true },\n object: { enabled: true },\n gesture: { enabled: true },\n};\n\nconst human = new Human(humanConfig); // create instance of human with overrides from user configuration\n\nhuman.env['perfadd'] = false; // is performance data showing instant or total values\nhuman.draw.options.font = 'small-caps 18px \"Lato\"'; // set font used to draw labels when using draw methods\nhuman.draw.options.lineHeight = 20;\n\nconst dom = { // grab instances of dom objects so we dont have to look them up later\n video: document.getElementById('video') as HTMLVideoElement,\n canvas: document.getElementById('canvas') as HTMLCanvasElement,\n log: document.getElementById('log') as HTMLPreElement,\n fps: document.getElementById('status') as HTMLPreElement,\n perf: document.getElementById('performance') as HTMLDivElement,\n};\nconst timestamp = { detect: 0, draw: 0, tensors: 0 }; // holds information used to calculate performance and possible memory leaks\nconst fps = { detect: 0, draw: 0 }; // holds calculated fps information for both detect and screen refresh\n\nconst log = (...msg) => { // helper method to output messages\n dom.log.innerText += msg.join(' ') + '\\n';\n // eslint-disable-next-line no-console\n console.log(...msg);\n};\nconst status = (msg) => dom.fps.innerText = msg; // print status element\nconst perf = (msg) => dom.perf.innerText = 'tensors:' + human.tf.memory().numTensors + ' | performance: ' + JSON.stringify(msg).replace(/\"|{|}/g, '').replace(/,/g, ' | '); // print performance element\n\nasync function webCam() { // initialize webcam\n status('starting webcam...');\n // @ts-ignore resizeMode is not yet defined in tslib\n const options: MediaStreamConstraints = { audio: false, video: { facingMode: 'user', resizeMode: 'none', width: { ideal: document.body.clientWidth } } };\n const stream: MediaStream = await navigator.mediaDevices.getUserMedia(options);\n const ready = new Promise((resolve) => { dom.video.onloadeddata = () => resolve(true); });\n dom.video.srcObject = stream;\n dom.video.play();\n await ready;\n dom.canvas.width = dom.video.videoWidth;\n dom.canvas.height = dom.video.videoHeight;\n const track: MediaStreamTrack = stream.getVideoTracks()[0];\n const capabilities: MediaTrackCapabilities | string = track.getCapabilities ? track.getCapabilities() : '';\n const settings: MediaTrackSettings | string = track.getSettings ? track.getSettings() : '';\n const constraints: MediaTrackConstraints | string = track.getConstraints ? track.getConstraints() : '';\n log('video:', dom.video.videoWidth, dom.video.videoHeight, track.label, { stream, track, settings, constraints, capabilities });\n dom.canvas.onclick = () => { // pause when clicked on screen and resume on next click\n if (dom.video.paused) dom.video.play();\n else dom.video.pause();\n };\n}\n\nasync function detectionLoop() { // main detection loop\n if (!dom.video.paused) {\n // console.log('profiling data:', await human.profile(dom.video));\n await human.detect(dom.video); // actual detection; were not capturing output in a local variable as it can also be reached via human.result\n const tensors = human.tf.memory().numTensors; // check current tensor usage for memory leaks\n if (tensors - timestamp.tensors !== 0) log('allocated tensors:', tensors - timestamp.tensors); // printed on start and each time there is a tensor leak\n timestamp.tensors = tensors;\n }\n const now = human.now();\n fps.detect = 1000 / (now - timestamp.detect);\n timestamp.detect = now;\n requestAnimationFrame(detectionLoop); // start new frame immediately\n}\n\nasync function drawLoop() { // main screen refresh loop\n if (!dom.video.paused) {\n const interpolated = await human.next(human.result); // smoothen result using last-known results\n await human.draw.canvas(dom.video, dom.canvas); // draw canvas to screen\n await human.draw.all(dom.canvas, interpolated); // draw labels, boxes, lines, etc.\n perf(interpolated.performance); // write performance data\n }\n const now = human.now();\n fps.draw = 1000 / (now - timestamp.draw);\n timestamp.draw = now;\n status(dom.video.paused ? 'paused' : `fps: ${fps.detect.toFixed(1).padStart(5, ' ')} detect | ${fps.draw.toFixed(1).padStart(5, ' ')} draw`); // write status\n // requestAnimationFrame(drawLoop); // refresh at screen refresh rate\n setTimeout(drawLoop, 30); // use to slow down refresh from max refresh rate to target of 30 fps\n}\n\nasync function main() { // main entry point\n log('human version:', human.version, '| tfjs version:', human.tf.version['tfjs-core']);\n log('platform:', human.env.platform, '| agent:', human.env.agent);\n status('loading...');\n await human.load(); // preload all models\n log('backend:', human.tf.getBackend(), '| available:', human.env.backends);\n log('loaded models:', Object.values(human.models).filter((model) => model !== null).length);\n status('initializing...');\n await human.warmup(); // warmup function to initialize backend for future faster detection\n await webCam(); // start webcam\n await detectionLoop(); // start detection loop\n await drawLoop(); // start draw loop\n}\n\nwindow.onload = main;\n"], + "mappings": ";;;;;;AASA,gDATA,AAWA,GAAM,GAA+B,CAGnC,cAAe,eACf,OAAQ,CAAE,QAAS,GAAM,aAAc,EAAM,EAC7C,KAAM,CAAE,QAAS,GAAM,SAAU,CAAE,SAAU,EAAM,EAAG,KAAM,CAAE,QAAS,EAAK,EAAG,KAAM,CAAE,QAAS,EAAK,EAAG,YAAa,CAAE,QAAS,EAAK,EAAG,QAAS,CAAE,QAAS,EAAK,CAAE,EACnK,KAAM,CAAE,QAAS,EAAK,EACtB,KAAM,CAAE,QAAS,EAAK,EACtB,OAAQ,CAAE,QAAS,EAAK,EACxB,QAAS,CAAE,QAAS,EAAK,CAC3B,EAEM,EAAQ,GAAI,GAAM,CAAW,EAEnC,EAAM,IAAI,QAAa,GACvB,EAAM,KAAK,QAAQ,KAAO,yBAC1B,EAAM,KAAK,QAAQ,WAAa,GAEhC,GAAM,GAAM,CACV,MAAO,SAAS,eAAe,OAAO,EACtC,OAAQ,SAAS,eAAe,QAAQ,EACxC,IAAK,SAAS,eAAe,KAAK,EAClC,IAAK,SAAS,eAAe,QAAQ,EACrC,KAAM,SAAS,eAAe,aAAa,CAC7C,EACM,EAAY,CAAE,OAAQ,EAAG,KAAM,EAAG,QAAS,CAAE,EAC7C,EAAM,CAAE,OAAQ,EAAG,KAAM,CAAE,EAE3B,EAAM,IAAI,IAAQ,CACtB,EAAI,IAAI,WAAa,EAAI,KAAK,GAAG,EAAI;AAAA,EAErC,QAAQ,IAAI,GAAG,CAAG,CACpB,EACM,EAAS,AAAC,GAAQ,EAAI,IAAI,UAAY,EACtC,EAAO,AAAC,GAAQ,EAAI,KAAK,UAAY,WAAa,EAAM,GAAG,OAAO,EAAE,WAAa,mBAAqB,KAAK,UAAU,CAAG,EAAE,QAAQ,SAAU,EAAE,EAAE,QAAQ,KAAM,KAAK,EAEzK,kBAAwB,CACtB,EAAO,oBAAoB,EAE3B,GAAM,GAAkC,CAAE,MAAO,GAAO,MAAO,CAAE,WAAY,OAAQ,WAAY,OAAQ,MAAO,CAAE,MAAO,SAAS,KAAK,WAAY,CAAE,CAAE,EACjJ,EAAsB,KAAM,WAAU,aAAa,aAAa,CAAO,EACvE,EAAQ,GAAI,SAAQ,AAAC,GAAY,CAAE,EAAI,MAAM,aAAe,IAAM,EAAQ,EAAI,CAAG,CAAC,EACxF,EAAI,MAAM,UAAY,EACtB,EAAI,MAAM,KAAK,EACf,KAAM,GACN,EAAI,OAAO,MAAQ,EAAI,MAAM,WAC7B,EAAI,OAAO,OAAS,EAAI,MAAM,YAC9B,GAAM,GAA0B,EAAO,eAAe,EAAE,GAClD,EAAgD,EAAM,gBAAkB,EAAM,gBAAgB,EAAI,GAClG,EAAwC,EAAM,YAAc,EAAM,YAAY,EAAI,GAClF,EAA8C,EAAM,eAAiB,EAAM,eAAe,EAAI,GACpG,EAAI,SAAU,EAAI,MAAM,WAAY,EAAI,MAAM,YAAa,EAAM,MAAO,CAAE,SAAQ,QAAO,WAAU,cAAa,cAAa,CAAC,EAC9H,EAAI,OAAO,QAAU,IAAM,CACzB,AAAI,EAAI,MAAM,OAAQ,EAAI,MAAM,KAAK,EAChC,EAAI,MAAM,MAAM,CACvB,CACF,CAEA,kBAA+B,CAC7B,GAAI,CAAC,EAAI,MAAM,OAAQ,CAErB,KAAM,GAAM,OAAO,EAAI,KAAK,EAC5B,GAAM,GAAU,EAAM,GAAG,OAAO,EAAE,WAClC,AAAI,EAAU,EAAU,UAAY,GAAG,EAAI,qBAAsB,EAAU,EAAU,OAAO,EAC5F,EAAU,QAAU,CACtB,CACA,GAAM,GAAM,EAAM,IAAI,EACtB,EAAI,OAAS,IAAQ,GAAM,EAAU,QACrC,EAAU,OAAS,EACnB,sBAAsB,CAAa,CACrC,CAEA,kBAA0B,CACxB,GAAI,CAAC,EAAI,MAAM,OAAQ,CACrB,GAAM,GAAe,KAAM,GAAM,KAAK,EAAM,MAAM,EAClD,KAAM,GAAM,KAAK,OAAO,EAAI,MAAO,EAAI,MAAM,EAC7C,KAAM,GAAM,KAAK,IAAI,EAAI,OAAQ,CAAY,EAC7C,EAAK,EAAa,WAAW,CAC/B,CACA,GAAM,GAAM,EAAM,IAAI,EACtB,EAAI,KAAO,IAAQ,GAAM,EAAU,MACnC,EAAU,KAAO,EACjB,EAAO,EAAI,MAAM,OAAS,SAAW,QAAQ,EAAI,OAAO,QAAQ,CAAC,EAAE,SAAS,EAAG,GAAG,cAAc,EAAI,KAAK,QAAQ,CAAC,EAAE,SAAS,EAAG,GAAG,QAAQ,EAE3I,WAAW,EAAU,EAAE,CACzB,CAEA,kBAAsB,CACpB,EAAI,iBAAkB,EAAM,QAAS,kBAAmB,EAAM,GAAG,QAAQ,YAAY,EACrF,EAAI,YAAa,EAAM,IAAI,SAAU,WAAY,EAAM,IAAI,KAAK,EAChE,EAAO,YAAY,EACnB,KAAM,GAAM,KAAK,EACjB,EAAI,WAAY,EAAM,GAAG,WAAW,EAAG,eAAgB,EAAM,IAAI,QAAQ,EACzE,EAAI,iBAAkB,OAAO,OAAO,EAAM,MAAM,EAAE,OAAO,AAAC,GAAU,IAAU,IAAI,EAAE,MAAM,EAC1F,EAAO,iBAAiB,EACxB,KAAM,GAAM,OAAO,EACnB,KAAM,GAAO,EACb,KAAM,GAAc,EACpB,KAAM,GAAS,CACjB,CAEA,OAAO,OAAS", "names": [] } diff --git a/demo/typescript/index.ts b/demo/typescript/index.ts index b68a54f6..25c77d9b 100644 --- a/demo/typescript/index.ts +++ b/demo/typescript/index.ts @@ -17,7 +17,7 @@ const humanConfig: Partial = { // user configuration for human, used to face: { enabled: true, detector: { rotation: false }, mesh: { enabled: true }, iris: { enabled: true }, description: { enabled: true }, emotion: { enabled: true } }, body: { enabled: true }, hand: { enabled: true }, - object: { enabled: false }, + object: { enabled: true }, gesture: { enabled: true }, }; diff --git a/src/face/blazeface.ts b/src/face/blazeface.ts index 4b2f3730..871a4538 100644 --- a/src/face/blazeface.ts +++ b/src/face/blazeface.ts @@ -55,7 +55,6 @@ export async function getBoxes(inputImage: Tensor, config: Config) { // sanity check on input if ((!inputImage) || (inputImage['isDisposedInternal']) || (inputImage.shape.length !== 4) || (inputImage.shape[1] < 1) || (inputImage.shape[2] < 1)) return []; const t: Record = {}; - t.resized = tf.image.resizeBilinear(inputImage, [inputSize, inputSize]); t.div = tf.div(t.resized, constants.tf127); t.normalized = tf.sub(t.div, constants.tf05); diff --git a/src/warmup.ts b/src/warmup.ts index 31da0e59..f48bb08b 100644 --- a/src/warmup.ts +++ b/src/warmup.ts @@ -6,13 +6,13 @@ import { log, now, mergeDeep } from './util/util'; import * as sample from './sample'; import * as tf from '../dist/tfjs.esm.js'; import * as image from './image/image'; +import { env } from './util/env'; import type { Config } from './config'; import type { Result } from './result'; -import type { Human } from './human'; -import type { Tensor } from './tfjs/types'; -import { env } from './util/env'; +import type { Human, Models } from './human'; +import type { Tensor, GraphModel } from './tfjs/types'; -async function warmupBitmap(instance: Human) { +async function warmupBitmap(instance: Human): Promise { const b64toBlob = (base64: string, type = 'application/octet-stream') => fetch(`data:${type};base64,${base64}`).then((res) => res.blob()); let blob; let res; @@ -99,6 +99,45 @@ async function warmupNode(instance: Human): Promise { return res; } +async function runInference(instance: Human) { + let res: Result | undefined; + if (typeof createImageBitmap === 'function') res = await warmupBitmap(instance); + else if (typeof Image !== 'undefined' || env.Canvas !== undefined) res = await warmupCanvas(instance); + else res = await warmupNode(instance); + return res; +} + +/** Runs pre-compile on all loaded models */ +export async function runCompile(allModels: Models) { + const backendType = tf.getBackend(); + const webGLBackend = tf.backend(); + if ((backendType !== 'webgl' && backendType !== 'humangl') || (!webGLBackend || !webGLBackend.checkCompileCompletion)) { + log('compile pass: skip'); + return; + } + const models = Object.values(allModels).filter((m) => m !== null) as GraphModel[]; + tf.env().set('ENGINE_COMPILE_ONLY', true); + const numTensorsStart = tf.engine().state.numTensors; + for (const model of models) { + const shape = (model.inputs && model.inputs[0] && model.inputs[0].shape) ? [...model.inputs[0].shape] : [1, 64, 64, 3]; + const dtype = (model.inputs && model.inputs[0] && model.inputs[0].dtype) ? model.inputs[0].dtype : 'float32'; + for (let dim = 0; dim < shape.length; dim++) { + if (shape[dim] === -1) shape[dim] = dim === 0 ? 1 : 64; // override batch number and any dynamic dimensions + } + const tensor = tf.zeros(shape, dtype); + const res = await model.executeAsync(tensor); + if (Array.isArray(res)) res.forEach((t) => tf.dispose(t)); + else tf.dispose(res); + tf.dispose(tensor); + } + const kernels = await webGLBackend.checkCompileCompletionAsync(); + webGLBackend.getUniformLocations(); + log('compile pass kernels:', kernels.length); + tf.env().set('ENGINE_COMPILE_ONLY', false); + const numTensorsEnd = tf.engine().state.numTensors; + if ((numTensorsEnd - numTensorsStart) > 0) log('tensor leak:', numTensorsEnd - numTensorsStart); +} + /** Warmup method pre-initializes all configured models for faster inference * - can take significant time on startup * - only used for `webgl` and `humangl` backends @@ -111,13 +150,11 @@ export async function warmup(instance: Human, userConfig?: Partial): Pro if (!instance.config.warmup || instance.config.warmup.length === 0 || instance.config.warmup === 'none') { return { face: [], body: [], hand: [], gesture: [], object: [], performance: instance.performance, timestamp: now(), persons: [], error: null }; } - let res; return new Promise(async (resolve) => { - if (typeof createImageBitmap === 'function') res = await warmupBitmap(instance); - else if (typeof Image !== 'undefined' || env.Canvas !== undefined) res = await warmupCanvas(instance); - else res = await warmupNode(instance); + // await runCompile(instance.models); + const res = await runInference(instance); const t1 = now(); - if (instance.config.debug) log('Warmup', instance.config.warmup, Math.round(t1 - t0), 'ms'); + if (instance.config.debug) log('warmup', instance.config.warmup, Math.round(t1 - t0), 'ms'); instance.emit('warmup'); resolve(res); }); diff --git a/test/build.log b/test/build.log index 6815fb7e..cb3f9267 100644 --- a/test/build.log +++ b/test/build.log @@ -1,24 +1,24 @@ -2022-03-16 11:38:07 INFO:  Application: {"name":"@vladmandic/human","version":"2.6.4"} -2022-03-16 11:38:07 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true} -2022-03-16 11:38:07 INFO:  Toolchain: {"build":"0.7.2","esbuild":"0.14.27","typescript":"4.6.2","typedoc":"0.22.13","eslint":"8.11.0"} -2022-03-16 11:38:07 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]} -2022-03-16 11:38:07 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]} -2022-03-16 11:38:07 STATE: 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-03-16 11:38:07 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":64,"inputBytes":562596,"outputBytes":292931} -2022-03-16 11:38:07 STATE: 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-03-16 11:38:07 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":64,"inputBytes":562600,"outputBytes":292935} -2022-03-16 11:38:07 STATE: 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-03-16 11:38:07 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":64,"inputBytes":562652,"outputBytes":292985} -2022-03-16 11:38:07 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":394} -2022-03-16 11:38:07 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1068,"outputBytes":615} -2022-03-16 11:38:07 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":64,"inputBytes":562616,"outputBytes":291911} -2022-03-16 11:38:07 STATE: 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":1344096} -2022-03-16 11:38:08 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":64,"inputBytes":1906097,"outputBytes":1635010} -2022-03-16 11:38:08 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":64,"inputBytes":1906097,"outputBytes":2112905} -2022-03-16 11:38:13 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":112} -2022-03-16 11:38:15 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true} -2022-03-16 11:38:15 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":5863,"outputBytes":2915} -2022-03-16 11:38:15 STATE: 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-03-16 11:38:22 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":95,"errors":0,"warnings":0} -2022-03-16 11:38:22 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"} -2022-03-16 11:38:22 INFO:  Done... +2022-03-19 11:01:09 INFO:  Application: {"name":"@vladmandic/human","version":"2.6.4"} +2022-03-19 11:01:09 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true} +2022-03-19 11:01:09 INFO:  Toolchain: {"build":"0.7.2","esbuild":"0.14.27","typescript":"4.6.2","typedoc":"0.22.13","eslint":"8.11.0"} +2022-03-19 11:01:09 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]} +2022-03-19 11:01:09 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]} +2022-03-19 11:01:09 STATE: 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-03-19 11:01:09 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":64,"inputBytes":564348,"outputBytes":292966} +2022-03-19 11:01:09 STATE: 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-03-19 11:01:09 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":64,"inputBytes":564352,"outputBytes":292970} +2022-03-19 11:01:09 STATE: 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-03-19 11:01:09 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":64,"inputBytes":564404,"outputBytes":293020} +2022-03-19 11:01:09 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1063,"outputBytes":394} +2022-03-19 11:01:09 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1068,"outputBytes":615} +2022-03-19 11:01:09 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":64,"inputBytes":564368,"outputBytes":291946} +2022-03-19 11:01:09 STATE: 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":1344104} +2022-03-19 11:01:09 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":64,"inputBytes":1907857,"outputBytes":1635055} +2022-03-19 11:01:09 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":64,"inputBytes":1907857,"outputBytes":2113003} +2022-03-19 11:01:14 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":112} +2022-03-19 11:01:16 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true} +2022-03-19 11:01:16 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":5862,"outputBytes":2915} +2022-03-19 11:01:16 STATE: 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-03-19 11:01:24 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":95,"errors":0,"warnings":0} +2022-03-19 11:01:24 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"} +2022-03-19 11:01:24 INFO:  Done... diff --git a/test/test.log b/test/test.log index 8f8fee3a..5286d914 100644 --- a/test/test.log +++ b/test/test.log @@ -1,684 +1,684 @@ -2022-03-16 11:19:08 INFO:  @vladmandic/human version 2.6.4 -2022-03-16 11:19:08 INFO:  User: vlado Platform: linux Arch: x64 Node: v17.4.0 -2022-03-16 11:19:08 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"] -2022-03-16 11:19:08 INFO:  demos: ["../demo/nodejs/node.js","../demo/nodejs/node-canvas.js","../demo/nodejs/node-env.js","../demo/nodejs/node-event.js","../demo/nodejs/node-multiprocess.js"] -2022-03-16 11:19:08 INFO:  -2022-03-16 11:19:08 INFO:  test-node.js start -2022-03-16 11:19:08 INFO:  test-node.js test: configuration validation -2022-03-16 11:19:08 STATE: test-node.js passed: configuration default validation [] -2022-03-16 11:19:08 STATE: test-node.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] -2022-03-16 11:19:08 INFO:  test-node.js test: model load -2022-03-16 11:19:08 STATE: test-node.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] -2022-03-16 11:19:08 INFO:  test-node.js test: warmup -2022-03-16 11:19:08 STATE: test-node.js passed: create human -2022-03-16 11:19:08 INFO:  test-node.js human version: 2.6.4 -2022-03-16 11:19:08 INFO:  test-node.js platform: linux x64 agent: NodeJS v17.4.0 -2022-03-16 11:19:08 INFO:  test-node.js tfjs version: 3.14.0 -2022-03-16 11:19:08 INFO:  test-node.js tensorflow binding version: 2.7.0-dev20211101 -2022-03-16 11:19:08 STATE: test-node.js passed: set backend: tensorflow -2022-03-16 11:19:08 STATE: test-node.js tensors 1919 -2022-03-16 11:19:08 STATE: test-node.js passed: load models -2022-03-16 11:19:08 STATE: test-node.js result: defined models: 22 loaded models: 12 -2022-03-16 11:19:08 STATE: test-node.js passed: warmup: none default -2022-03-16 11:19:08 DATA:  test-node.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} -2022-03-16 11:19:08 DATA:  test-node.js result: performance: load: null total: null -2022-03-16 11:19:08 STATE: test-node.js passed: warmup none result match -2022-03-16 11:19:08 STATE: test-node.js event: image -2022-03-16 11:19:09 STATE: test-node.js event: detect -2022-03-16 11:19:09 STATE: test-node.js event: warmup -2022-03-16 11:19:09 STATE: test-node.js passed: warmup: face default -2022-03-16 11:19:09 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.42,"keypoints":4} -2022-03-16 11:19:09 DATA:  test-node.js result: performance: load: null total: 366 -2022-03-16 11:19:09 STATE: test-node.js passed: warmup face result match -2022-03-16 11:19:09 STATE: test-node.js event: image -2022-03-16 11:19:09 STATE: test-node.js event: detect -2022-03-16 11:19:09 STATE: test-node.js event: warmup -2022-03-16 11:19:09 STATE: test-node.js passed: warmup: body default -2022-03-16 11:19:09 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:09 DATA:  test-node.js result: performance: load: null total: 275 -2022-03-16 11:19:09 STATE: test-node.js passed: warmup body result match -2022-03-16 11:19:09 STATE: test-node.js details: {"face":{"boxScore":0.92,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.89},"emotion":[{"score":0.35,"emotion":"fear"},{"score":0.28,"emotion":"angry"},{"score":0.15,"emotion":"sad"},{"score":0.1,"emotion":"surprise"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.52,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} -2022-03-16 11:19:09 INFO:  test-node.js test: details verification -2022-03-16 11:19:09 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:09 STATE: test-node.js event: image -2022-03-16 11:19:09 STATE: test-node.js event: detect -2022-03-16 11:19:09 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:09 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:09 DATA:  test-node.js result: performance: load: null total: 251 -2022-03-16 11:19:09 STATE: test-node.js passed: details face length 1 -2022-03-16 11:19:09 STATE: test-node.js passed: details face score 1 0.93 1 -2022-03-16 11:19:09 STATE: test-node.js passed: details face age/gender 29.6 female 0.91 73.26 -2022-03-16 11:19:09 STATE: test-node.js passed: details face arrays 4 478 1024 -2022-03-16 11:19:09 STATE: test-node.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} -2022-03-16 11:19:09 STATE: test-node.js passed: details face anti-spoofing 0.78 -2022-03-16 11:19:09 STATE: test-node.js passed: details face liveness 0.83 -2022-03-16 11:19:09 STATE: test-node.js passed: details body length 1 -2022-03-16 11:19:09 STATE: test-node.js passed: details body 0.92 17 6 -2022-03-16 11:19:09 STATE: test-node.js passed: details hand length 1 -2022-03-16 11:19:09 STATE: test-node.js passed: details hand 0.51 0.73 point -2022-03-16 11:19:09 STATE: test-node.js passed: details hand arrays 21 5 7 -2022-03-16 11:19:09 STATE: test-node.js passed: details gesture length 6 -2022-03-16 11:19:09 STATE: test-node.js passed: details gesture first {"face":0,"gesture":"facing right"} -2022-03-16 11:19:09 STATE: test-node.js passed: details object length 1 -2022-03-16 11:19:09 STATE: test-node.js passed: details object 0.72 person -2022-03-16 11:19:10 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996928} -2022-03-16 11:19:10 STATE: test-node.js event: image -2022-03-16 11:19:10 STATE: test-node.js event: detect -2022-03-16 11:19:10 STATE: test-node.js passed: tensor shape: [1,1200,1200,4] dtype: float32 -2022-03-16 11:19:10 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1371996928} -2022-03-16 11:19:10 STATE: test-node.js event: image -2022-03-16 11:19:10 STATE: test-node.js event: detect -2022-03-16 11:19:10 STATE: test-node.js passed: tensor shape: [1200,1200,4] dtype: float32 -2022-03-16 11:19:10 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:10 STATE: test-node.js event: image -2022-03-16 11:19:11 STATE: test-node.js event: detect -2022-03-16 11:19:11 STATE: test-node.js passed: tensor shape: [1,1200,1200,3] dtype: float32 -2022-03-16 11:19:11 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:11 STATE: test-node.js event: image -2022-03-16 11:19:11 STATE: test-node.js event: detect -2022-03-16 11:19:11 STATE: test-node.js passed: tensor shape: [1200,1200,3] dtype: float32 -2022-03-16 11:19:11 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} -2022-03-16 11:19:11 STATE: test-node.js event: image -2022-03-16 11:19:11 STATE: test-node.js event: detect -2022-03-16 11:19:11 STATE: test-node.js passed: tensor shape: [1,1200,1200,4] dtype: int32 -2022-03-16 11:19:11 INFO:  test-node.js test default -2022-03-16 11:19:12 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:12 STATE: test-node.js event: image -2022-03-16 11:19:12 STATE: test-node.js event: detect -2022-03-16 11:19:12 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:12 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:12 DATA:  test-node.js result: performance: load: null total: 209 -2022-03-16 11:19:12 STATE: test-node.js passed: default result face match 1 female 0.91 -2022-03-16 11:19:12 INFO:  test-node.js test sync -2022-03-16 11:19:12 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:12 STATE: test-node.js event: image -2022-03-16 11:19:12 STATE: test-node.js event: detect -2022-03-16 11:19:12 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:12 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:12 DATA:  test-node.js result: performance: load: null total: 202 -2022-03-16 11:19:12 STATE: test-node.js passed: default sync 1 female 0.91 -2022-03-16 11:19:12 INFO:  test-node.js test: image process -2022-03-16 11:19:12 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:12 STATE: test-node.js passed: image input null [1,256,256,3] -2022-03-16 11:19:12 INFO:  test-node.js test: image null -2022-03-16 11:19:12 STATE: test-node.js passed: invalid input could not convert input to tensor -2022-03-16 11:19:12 INFO:  test-node.js test face similarity -2022-03-16 11:19:12 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:12 STATE: test-node.js event: image -2022-03-16 11:19:12 STATE: test-node.js event: detect -2022-03-16 11:19:12 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:12 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} -2022-03-16 11:19:12 DATA:  test-node.js result: performance: load: null total: 195 -2022-03-16 11:19:13 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:13 STATE: test-node.js event: image -2022-03-16 11:19:13 STATE: test-node.js event: detect -2022-03-16 11:19:13 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:13 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:13 DATA:  test-node.js result: performance: load: null total: 204 -2022-03-16 11:19:13 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:13 STATE: test-node.js event: image -2022-03-16 11:19:13 STATE: test-node.js event: detect -2022-03-16 11:19:13 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:13 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} -2022-03-16 11:19:13 DATA:  test-node.js result: performance: load: null total: 185 -2022-03-16 11:19:13 STATE: test-node.js passed: face descriptor -2022-03-16 11:19:13 STATE: test-node.js passed: face similarity {"similarity":[1,0.5632803981762933,0.5194114531612539],"descriptors":[1024,1024,1024]} -2022-03-16 11:19:13 INFO:  test-node.js test face matching -2022-03-16 11:19:13 STATE: test-node.js passed: face database 40 -2022-03-16 11:19:13 STATE: test-node.js passed: face match {"first":{"index":4,"similarity":0.8797924743573865}} {"second":{"index":4,"similarity":0.548081908581344}} {"third":{"index":4,"similarity":0.4999696807961951}} -2022-03-16 11:19:13 INFO:  test-node.js test object -2022-03-16 11:19:13 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:13 STATE: test-node.js event: image -2022-03-16 11:19:13 STATE: test-node.js event: detect -2022-03-16 11:19:13 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:13 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:13 DATA:  test-node.js result: performance: load: null total: 199 -2022-03-16 11:19:13 STATE: test-node.js passed: object result match -2022-03-16 11:19:13 INFO:  test-node.js test sensitive -2022-03-16 11:19:14 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:14 STATE: test-node.js event: image -2022-03-16 11:19:14 STATE: test-node.js event: detect -2022-03-16 11:19:14 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:14 DATA:  test-node.js result: face: 1 body: 1 hand: 2 gesture: 8 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:14 DATA:  test-node.js result: performance: load: null total: 221 -2022-03-16 11:19:14 STATE: test-node.js passed: sensitive result match -2022-03-16 11:19:14 STATE: test-node.js passed: sensitive face result match -2022-03-16 11:19:14 STATE: test-node.js passed: sensitive face emotion result [{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}] -2022-03-16 11:19:14 STATE: test-node.js passed: sensitive body result match -2022-03-16 11:19:14 STATE: test-node.js passed: sensitive hand result match -2022-03-16 11:19:14 INFO:  test-node.js test detectors -2022-03-16 11:19:14 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:14 STATE: test-node.js event: image -2022-03-16 11:19:14 STATE: test-node.js event: detect -2022-03-16 11:19:14 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:14 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:14 DATA:  test-node.js result: performance: load: null total: 139 -2022-03-16 11:19:14 STATE: test-node.js passed: detector result face match -2022-03-16 11:19:14 STATE: test-node.js passed: detector result hand match -2022-03-16 11:19:14 INFO:  test-node.js test: multi-instance -2022-03-16 11:19:14 STATE: test-node.js event: image -2022-03-16 11:19:14 STATE: test-node.js event: detect -2022-03-16 11:19:14 STATE: test-node.js passed: detect: random default -2022-03-16 11:19:14 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 1 object: 0 person: 0 {} {} {"score":0.07,"keypoints":15} -2022-03-16 11:19:14 DATA:  test-node.js result: performance: load: null total: 132 -2022-03-16 11:19:14 INFO:  test-node.js test: first instance -2022-03-16 11:19:14 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:15 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:15 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:15 DATA:  test-node.js result: performance: load: null total: 134 -2022-03-16 11:19:15 INFO:  test-node.js test: second instance -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:15 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:15 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:15 DATA:  test-node.js result: performance: load: null total: 132 -2022-03-16 11:19:15 INFO:  test-node.js test: concurrent -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:15 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} -2022-03-16 11:19:16 STATE: test-node.js event: image -2022-03-16 11:19:16 STATE: test-node.js event: image -2022-03-16 11:19:16 STATE: test-node.js event: image -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1377 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1377 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1488 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1488 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1488 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1488 -2022-03-16 11:19:17 STATE: test-node.js event: detect -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1226 -2022-03-16 11:19:17 STATE: test-node.js event: detect -2022-03-16 11:19:17 STATE: test-node.js event: detect -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1226 -2022-03-16 11:19:17 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:17 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:17 DATA:  test-node.js result: performance: load: null total: 1226 -2022-03-16 11:19:17 INFO:  test-node.js test: monkey-patch -2022-03-16 11:19:17 STATE: test-node.js event: image -2022-03-16 11:19:17 STATE: test-node.js event: detect -2022-03-16 11:19:17 STATE: test-node.js passed: monkey patch -2022-03-16 11:19:17 STATE: test-node.js passed: segmentation [65536] -2022-03-16 11:19:17 STATE: test-node.js passeed: equal usage -2022-03-16 11:19:17 INFO:  test-node.js test: input compare -2022-03-16 11:19:17 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:17 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} -2022-03-16 11:19:17 STATE: test-node.js passed: image compare 0 23.275441687091504 -2022-03-16 11:19:17 INFO:  test-node.js events: {"image":21,"detect":21,"warmup":2} -2022-03-16 11:19:17 INFO:  test-node.js tensors 1925 -2022-03-16 11:19:17 INFO:  test-node.js test complete: 8830 ms -2022-03-16 11:19:17 INFO:  -2022-03-16 11:19:17 INFO:  test-node-gpu.js start -2022-03-16 11:19:18 INFO:  test-node-gpu.js test: configuration validation -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: configuration default validation [] -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] -2022-03-16 11:19:18 INFO:  test-node-gpu.js test: model load -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] -2022-03-16 11:19:18 INFO:  test-node-gpu.js test: warmup -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: create human -2022-03-16 11:19:18 INFO:  test-node-gpu.js human version: 2.6.4 -2022-03-16 11:19:18 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v17.4.0 -2022-03-16 11:19:18 INFO:  test-node-gpu.js tfjs version: 3.14.0 -2022-03-16 11:19:18 INFO:  test-node-gpu.js tensorflow binding version: 2.7.0-dev20211101 -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: set backend: tensorflow -2022-03-16 11:19:18 STATE: test-node-gpu.js tensors 1919 -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: load models -2022-03-16 11:19:18 STATE: test-node-gpu.js result: defined models: 22 loaded models: 12 -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: warmup: none default -2022-03-16 11:19:18 DATA:  test-node-gpu.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} -2022-03-16 11:19:18 DATA:  test-node-gpu.js result: performance: load: null total: null -2022-03-16 11:19:18 STATE: test-node-gpu.js passed: warmup none result match -2022-03-16 11:19:19 STATE: test-node-gpu.js event: image -2022-03-16 11:19:23 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:23 STATE: test-node-gpu.js event: warmup -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: warmup: face default -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.42,"keypoints":4} -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: performance: load: null total: 3956 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: warmup face result match -2022-03-16 11:19:23 STATE: test-node-gpu.js event: image -2022-03-16 11:19:23 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:23 STATE: test-node-gpu.js event: warmup -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: warmup: body default -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: performance: load: null total: 170 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: warmup body result match -2022-03-16 11:19:23 STATE: test-node-gpu.js details: {"face":{"boxScore":0.92,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.89},"emotion":[{"score":0.35,"emotion":"fear"},{"score":0.28,"emotion":"angry"},{"score":0.15,"emotion":"sad"},{"score":0.1,"emotion":"surprise"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.52,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} -2022-03-16 11:19:23 INFO:  test-node-gpu.js test: details verification -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:23 STATE: test-node-gpu.js event: image -2022-03-16 11:19:23 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:23 DATA:  test-node-gpu.js result: performance: load: null total: 158 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face length 1 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face score 1 0.93 1 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face age/gender 29.6 female 0.91 73.26 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face arrays 4 478 1024 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face anti-spoofing 0.78 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details face liveness 0.83 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details body length 1 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details body 0.92 17 6 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details hand length 1 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details hand 0.51 0.73 point -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details hand arrays 21 5 7 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details gesture length 6 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details gesture first {"face":0,"gesture":"facing right"} -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details object length 1 -2022-03-16 11:19:23 STATE: test-node-gpu.js passed: details object 0.72 person -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996928} -2022-03-16 11:19:24 STATE: test-node-gpu.js event: image -2022-03-16 11:19:24 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,4] dtype: float32 -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1371996928} -2022-03-16 11:19:24 STATE: test-node-gpu.js event: image -2022-03-16 11:19:24 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: tensor shape: [1200,1200,4] dtype: float32 -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:24 STATE: test-node-gpu.js event: image -2022-03-16 11:19:24 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:24 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,3] dtype: float32 -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:25 STATE: test-node-gpu.js event: image -2022-03-16 11:19:25 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: tensor shape: [1200,1200,3] dtype: float32 -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} -2022-03-16 11:19:25 STATE: test-node-gpu.js event: image -2022-03-16 11:19:25 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,4] dtype: int32 -2022-03-16 11:19:25 INFO:  test-node-gpu.js test default -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:25 STATE: test-node-gpu.js event: image -2022-03-16 11:19:25 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:25 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:25 DATA:  test-node-gpu.js result: performance: load: null total: 149 -2022-03-16 11:19:25 STATE: test-node-gpu.js passed: default result face match 1 female 0.91 -2022-03-16 11:19:25 INFO:  test-node-gpu.js test sync -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:26 STATE: test-node-gpu.js event: image -2022-03-16 11:19:26 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: performance: load: null total: 162 -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: default sync 1 female 0.91 -2022-03-16 11:19:26 INFO:  test-node-gpu.js test: image process -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: image input null [1,256,256,3] -2022-03-16 11:19:26 INFO:  test-node-gpu.js test: image null -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: invalid input could not convert input to tensor -2022-03-16 11:19:26 INFO:  test-node-gpu.js test face similarity -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:26 STATE: test-node-gpu.js event: image -2022-03-16 11:19:26 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: performance: load: null total: 150 -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:26 STATE: test-node-gpu.js event: image -2022-03-16 11:19:26 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:26 DATA:  test-node-gpu.js result: performance: load: null total: 198 -2022-03-16 11:19:26 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:26 STATE: test-node-gpu.js event: image -2022-03-16 11:19:27 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: performance: load: null total: 165 -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: face descriptor -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: face similarity {"similarity":[1,0.5630857211196999,0.5193140083083794],"descriptors":[1024,1024,1024]} -2022-03-16 11:19:27 INFO:  test-node-gpu.js test face matching -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: face database 40 -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: face match {"first":{"index":4,"similarity":0.8799993617830532}} {"second":{"index":4,"similarity":0.5479640431307572}} {"third":{"index":4,"similarity":0.49994916272803597}} -2022-03-16 11:19:27 INFO:  test-node-gpu.js test object -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:27 STATE: test-node-gpu.js event: image -2022-03-16 11:19:27 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: performance: load: null total: 178 -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: object result match -2022-03-16 11:19:27 INFO:  test-node-gpu.js test sensitive -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:27 STATE: test-node-gpu.js event: image -2022-03-16 11:19:27 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 2 gesture: 8 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:27 DATA:  test-node-gpu.js result: performance: load: null total: 184 -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: sensitive result match -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: sensitive face result match -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: sensitive face emotion result [{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}] -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: sensitive body result match -2022-03-16 11:19:27 STATE: test-node-gpu.js passed: sensitive hand result match -2022-03-16 11:19:27 INFO:  test-node-gpu.js test detectors -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:28 STATE: test-node-gpu.js event: image -2022-03-16 11:19:28 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: performance: load: null total: 109 -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detector result face match -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detector result hand match -2022-03-16 11:19:28 INFO:  test-node-gpu.js test: multi-instance -2022-03-16 11:19:28 STATE: test-node-gpu.js event: image -2022-03-16 11:19:28 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detect: random default -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0.07,"keypoints":15} -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: performance: load: null total: 99 -2022-03-16 11:19:28 INFO:  test-node-gpu.js test: first instance -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: performance: load: null total: 108 -2022-03-16 11:19:28 INFO:  test-node-gpu.js test: second instance -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:28 DATA:  test-node-gpu.js result: performance: load: null total: 104 -2022-03-16 11:19:28 INFO:  test-node-gpu.js test: concurrent -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:28 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:29 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} -2022-03-16 11:19:29 STATE: test-node-gpu.js event: image -2022-03-16 11:19:29 STATE: test-node-gpu.js event: image -2022-03-16 11:19:29 STATE: test-node-gpu.js event: image -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1106 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1106 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1165 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1165 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1165 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 1165 -2022-03-16 11:19:30 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 912 -2022-03-16 11:19:30 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:30 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 912 -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:30 DATA:  test-node-gpu.js result: performance: load: null total: 912 -2022-03-16 11:19:30 INFO:  test-node-gpu.js test: monkey-patch -2022-03-16 11:19:30 STATE: test-node-gpu.js event: image -2022-03-16 11:19:30 STATE: test-node-gpu.js event: detect -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: monkey patch -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: segmentation [65536] -2022-03-16 11:19:30 STATE: test-node-gpu.js passeed: equal usage -2022-03-16 11:19:30 INFO:  test-node-gpu.js test: input compare -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} -2022-03-16 11:19:30 STATE: test-node-gpu.js passed: image compare 0 23.275441687091504 -2022-03-16 11:19:30 INFO:  test-node-gpu.js events: {"image":21,"detect":21,"warmup":2} -2022-03-16 11:19:30 INFO:  test-node-gpu.js tensors 1925 -2022-03-16 11:19:30 INFO:  test-node-gpu.js test complete: 12603 ms -2022-03-16 11:19:31 INFO:  -2022-03-16 11:19:31 INFO:  test-node-wasm.js start -2022-03-16 11:19:31 STATE: test-node-wasm.js passed: model server: https://vladmandic.github.io/human/models/ -2022-03-16 11:19:31 INFO:  test-node-wasm.js test: configuration validation -2022-03-16 11:19:31 STATE: test-node-wasm.js passed: configuration default validation [] -2022-03-16 11:19:31 STATE: test-node-wasm.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] -2022-03-16 11:19:31 INFO:  test-node-wasm.js test: model load -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] -2022-03-16 11:19:32 INFO:  test-node-wasm.js test: warmup -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: create human -2022-03-16 11:19:32 INFO:  test-node-wasm.js human version: 2.6.4 -2022-03-16 11:19:32 INFO:  test-node-wasm.js platform: linux x64 agent: NodeJS v17.4.0 -2022-03-16 11:19:32 INFO:  test-node-wasm.js tfjs version: 3.14.0 -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: set backend: wasm -2022-03-16 11:19:32 STATE: test-node-wasm.js tensors 1919 -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: load models -2022-03-16 11:19:32 STATE: test-node-wasm.js result: defined models: 22 loaded models: 12 -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: warmup: none default -2022-03-16 11:19:32 DATA:  test-node-wasm.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} -2022-03-16 11:19:32 DATA:  test-node-wasm.js result: performance: load: null total: null -2022-03-16 11:19:32 STATE: test-node-wasm.js passed: warmup none result match -2022-03-16 11:19:32 STATE: test-node-wasm.js event: image -2022-03-16 11:19:33 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:33 STATE: test-node-wasm.js event: warmup -2022-03-16 11:19:33 STATE: test-node-wasm.js passed: warmup: face default -2022-03-16 11:19:33 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} -2022-03-16 11:19:33 DATA:  test-node-wasm.js result: performance: load: null total: 497 -2022-03-16 11:19:33 STATE: test-node-wasm.js passed: warmup face result match -2022-03-16 11:19:33 STATE: test-node-wasm.js event: image -2022-03-16 11:19:33 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:33 STATE: test-node-wasm.js event: warmup -2022-03-16 11:19:33 STATE: test-node-wasm.js passed: warmup: body default -2022-03-16 11:19:33 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:33 DATA:  test-node-wasm.js result: performance: load: null total: 377 -2022-03-16 11:19:33 STATE: test-node-wasm.js passed: warmup body result match -2022-03-16 11:19:33 STATE: test-node-wasm.js details: {"face":{"boxScore":0.93,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.91},"emotion":[{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.51,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} -2022-03-16 11:19:33 INFO:  test-node-wasm.js test: details verification -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:34 STATE: test-node-wasm.js event: image -2022-03-16 11:19:34 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:34 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:34 DATA:  test-node-wasm.js result: performance: load: null total: 354 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face length 1 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face score 1 0.93 1 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face age/gender 29.6 female 0.91 73.26 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face arrays 4 478 1024 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face anti-spoofing 0.78 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details face liveness 0.83 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details body length 1 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details body 0.92 17 6 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details hand length 1 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details hand 0.51 0.73 point -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details hand arrays 21 5 7 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details gesture length 6 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details gesture first {"face":0,"gesture":"facing right"} -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details object length 1 -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: details object 0.72 person -2022-03-16 11:19:34 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1413675264} -2022-03-16 11:19:34 STATE: test-node-wasm.js event: image -2022-03-16 11:19:35 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:35 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,4] dtype: float32 -2022-03-16 11:19:35 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1413675264} -2022-03-16 11:19:35 STATE: test-node-wasm.js event: image -2022-03-16 11:19:35 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:35 STATE: test-node-wasm.js passed: tensor shape: [1200,1200,4] dtype: float32 -2022-03-16 11:19:35 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:35 STATE: test-node-wasm.js event: image -2022-03-16 11:19:36 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:36 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,3] dtype: float32 -2022-03-16 11:19:36 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:36 STATE: test-node-wasm.js event: image -2022-03-16 11:19:36 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:36 STATE: test-node-wasm.js passed: tensor shape: [1200,1200,3] dtype: float32 -2022-03-16 11:19:37 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} -2022-03-16 11:19:37 STATE: test-node-wasm.js event: image -2022-03-16 11:19:37 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:37 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,4] dtype: int32 -2022-03-16 11:19:37 INFO:  test-node-wasm.js test default -2022-03-16 11:19:37 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:37 STATE: test-node-wasm.js event: image -2022-03-16 11:19:37 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:37 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:37 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:37 DATA:  test-node-wasm.js result: performance: load: null total: 323 -2022-03-16 11:19:37 STATE: test-node-wasm.js passed: default result face match 1 female 0.93 -2022-03-16 11:19:37 INFO:  test-node-wasm.js test sync -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:38 STATE: test-node-wasm.js event: image -2022-03-16 11:19:38 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:38 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:38 DATA:  test-node-wasm.js result: performance: load: null total: 324 -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: default sync 1 female 0.93 -2022-03-16 11:19:38 INFO:  test-node-wasm.js test: image process -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: image input null [1,256,256,3] -2022-03-16 11:19:38 INFO:  test-node-wasm.js test: image null -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: invalid input could not convert input to tensor -2022-03-16 11:19:38 INFO:  test-node-wasm.js test face similarity -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:38 STATE: test-node-wasm.js event: image -2022-03-16 11:19:38 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:38 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:38 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} -2022-03-16 11:19:38 DATA:  test-node-wasm.js result: performance: load: null total: 312 -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:39 STATE: test-node-wasm.js event: image -2022-03-16 11:19:39 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:39 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:39 DATA:  test-node-wasm.js result: performance: load: null total: 316 -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:39 STATE: test-node-wasm.js event: image -2022-03-16 11:19:39 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:39 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} -2022-03-16 11:19:39 DATA:  test-node-wasm.js result: performance: load: null total: 295 -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: face descriptor -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: face similarity {"similarity":[1,0.5888036339038205,0.4689331535670693],"descriptors":[1024,1024,1024]} -2022-03-16 11:19:39 INFO:  test-node-wasm.js test face matching -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: face database 40 -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: face match {"first":{"index":4,"similarity":0.8797924799049534}} {"second":{"index":4,"similarity":0.573642308237338}} {"third":{"index":4,"similarity":0.45582039900188964}} -2022-03-16 11:19:39 INFO:  test-node-wasm.js test object -2022-03-16 11:19:39 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:39 STATE: test-node-wasm.js event: image -2022-03-16 11:19:40 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:40 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:40 DATA:  test-node-wasm.js result: performance: load: null total: 339 -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: object result match -2022-03-16 11:19:40 INFO:  test-node-wasm.js test sensitive -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:40 STATE: test-node-wasm.js event: image -2022-03-16 11:19:40 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:40 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 2 gesture: 9 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:40 DATA:  test-node-wasm.js result: performance: load: null total: 385 -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: sensitive result match -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: sensitive face result match -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: sensitive face emotion result [{"score":0.54,"emotion":"angry"},{"score":0.2,"emotion":"fear"},{"score":0.16,"emotion":"surprise"}] -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: sensitive body result match -2022-03-16 11:19:40 STATE: test-node-wasm.js passed: sensitive hand result match -2022-03-16 11:19:40 INFO:  test-node-wasm.js test detectors -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:41 STATE: test-node-wasm.js event: image -2022-03-16 11:19:41 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: performance: load: null total: 235 -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: detector result face match -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: detector result hand match -2022-03-16 11:19:41 INFO:  test-node-wasm.js test: multi-instance -2022-03-16 11:19:41 STATE: test-node-wasm.js event: image -2022-03-16 11:19:41 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: detect: random default -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0.07,"keypoints":15} -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: performance: load: null total: 212 -2022-03-16 11:19:41 INFO:  test-node-wasm.js test: first instance -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:41 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:41 DATA:  test-node-wasm.js result: performance: load: null total: 218 -2022-03-16 11:19:41 INFO:  test-node-wasm.js test: second instance -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:42 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:42 DATA:  test-node-wasm.js result: performance: load: null total: 227 -2022-03-16 11:19:42 INFO:  test-node-wasm.js test: concurrent -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:42 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:43 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:43 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} -2022-03-16 11:19:43 STATE: test-node-wasm.js event: image -2022-03-16 11:19:43 STATE: test-node-wasm.js event: image -2022-03-16 11:19:43 STATE: test-node-wasm.js event: image -2022-03-16 11:19:44 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:44 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:44 DATA:  test-node-wasm.js result: performance: load: null total: 2049 -2022-03-16 11:19:44 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:44 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:44 DATA:  test-node-wasm.js result: performance: load: null total: 2049 -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 2271 -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 2271 -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 2271 -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 2271 -2022-03-16 11:19:45 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 1957 -2022-03-16 11:19:45 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:45 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 1957 -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} -2022-03-16 11:19:45 DATA:  test-node-wasm.js result: performance: load: null total: 1957 -2022-03-16 11:19:45 INFO:  test-node-wasm.js test: monkey-patch -2022-03-16 11:19:45 STATE: test-node-wasm.js event: image -2022-03-16 11:19:45 STATE: test-node-wasm.js event: detect -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: monkey patch -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: segmentation [65536] -2022-03-16 11:19:45 STATE: test-node-wasm.js passeed: equal usage -2022-03-16 11:19:45 INFO:  test-node-wasm.js test: input compare -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} -2022-03-16 11:19:45 STATE: test-node-wasm.js passed: image compare 0 23.280073018790848 -2022-03-16 11:19:45 INFO:  test-node-wasm.js events: {"image":21,"detect":21,"warmup":2} -2022-03-16 11:19:45 INFO:  test-node-wasm.js tensors 1927 -2022-03-16 11:19:45 INFO:  test-node-wasm.js test complete: 13803 ms -2022-03-16 11:19:45 INFO:  all tests complete -2022-03-16 11:19:45 INFO:  failed: {"count":0,"messages":[]} -2022-03-16 11:19:45 INFO:  status: {"test":"test-node.js","passed":101,"failed":0} -2022-03-16 11:19:45 INFO:  status: {"test":"test-node-gpu.js","passed":101,"failed":0} -2022-03-16 11:19:45 INFO:  status: {"test":"test-node-wasm.js","passed":102,"failed":0} +2022-03-19 11:01:29 INFO:  @vladmandic/human version 2.6.4 +2022-03-19 11:01:29 INFO:  User: vlado Platform: linux Arch: x64 Node: v17.4.0 +2022-03-19 11:01:29 INFO:  tests: ["test-node.js","test-node-gpu.js","test-node-wasm.js"] +2022-03-19 11:01:29 INFO:  demos: ["../demo/nodejs/node.js","../demo/nodejs/node-canvas.js","../demo/nodejs/node-env.js","../demo/nodejs/node-event.js","../demo/nodejs/node-multiprocess.js"] +2022-03-19 11:01:29 INFO:  +2022-03-19 11:01:29 INFO:  test-node.js start +2022-03-19 11:01:29 INFO:  test-node.js test: configuration validation +2022-03-19 11:01:29 STATE: test-node.js passed: configuration default validation [] +2022-03-19 11:01:29 STATE: test-node.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] +2022-03-19 11:01:29 INFO:  test-node.js test: model load +2022-03-19 11:01:29 STATE: test-node.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] +2022-03-19 11:01:29 INFO:  test-node.js test: warmup +2022-03-19 11:01:29 STATE: test-node.js passed: create human +2022-03-19 11:01:29 INFO:  test-node.js human version: 2.6.4 +2022-03-19 11:01:29 INFO:  test-node.js platform: linux x64 agent: NodeJS v17.4.0 +2022-03-19 11:01:29 INFO:  test-node.js tfjs version: 3.14.0 +2022-03-19 11:01:29 INFO:  test-node.js tensorflow binding version: 2.7.0-dev20211101 +2022-03-19 11:01:29 STATE: test-node.js passed: set backend: tensorflow +2022-03-19 11:01:29 STATE: test-node.js tensors 1919 +2022-03-19 11:01:29 STATE: test-node.js passed: load models +2022-03-19 11:01:29 STATE: test-node.js result: defined models: 22 loaded models: 12 +2022-03-19 11:01:29 STATE: test-node.js passed: warmup: none default +2022-03-19 11:01:29 DATA:  test-node.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} +2022-03-19 11:01:29 DATA:  test-node.js result: performance: load: null total: null +2022-03-19 11:01:29 STATE: test-node.js passed: warmup none result match +2022-03-19 11:01:29 STATE: test-node.js event: image +2022-03-19 11:01:30 STATE: test-node.js event: detect +2022-03-19 11:01:30 STATE: test-node.js event: warmup +2022-03-19 11:01:30 STATE: test-node.js passed: warmup: face default +2022-03-19 11:01:30 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.42,"keypoints":4} +2022-03-19 11:01:30 DATA:  test-node.js result: performance: load: null total: 369 +2022-03-19 11:01:30 STATE: test-node.js passed: warmup face result match +2022-03-19 11:01:30 STATE: test-node.js event: image +2022-03-19 11:01:30 STATE: test-node.js event: detect +2022-03-19 11:01:30 STATE: test-node.js event: warmup +2022-03-19 11:01:30 STATE: test-node.js passed: warmup: body default +2022-03-19 11:01:30 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:30 DATA:  test-node.js result: performance: load: null total: 262 +2022-03-19 11:01:30 STATE: test-node.js passed: warmup body result match +2022-03-19 11:01:30 STATE: test-node.js details: {"face":{"boxScore":0.92,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.89},"emotion":[{"score":0.35,"emotion":"fear"},{"score":0.28,"emotion":"angry"},{"score":0.15,"emotion":"sad"},{"score":0.1,"emotion":"surprise"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.52,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} +2022-03-19 11:01:30 INFO:  test-node.js test: details verification +2022-03-19 11:01:30 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:30 STATE: test-node.js event: image +2022-03-19 11:01:30 STATE: test-node.js event: detect +2022-03-19 11:01:30 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:30 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:30 DATA:  test-node.js result: performance: load: null total: 264 +2022-03-19 11:01:30 STATE: test-node.js passed: details face length 1 +2022-03-19 11:01:30 STATE: test-node.js passed: details face score 1 0.93 1 +2022-03-19 11:01:30 STATE: test-node.js passed: details face age/gender 29.6 female 0.91 73.26 +2022-03-19 11:01:30 STATE: test-node.js passed: details face arrays 4 478 1024 +2022-03-19 11:01:30 STATE: test-node.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} +2022-03-19 11:01:30 STATE: test-node.js passed: details face anti-spoofing 0.78 +2022-03-19 11:01:30 STATE: test-node.js passed: details face liveness 0.83 +2022-03-19 11:01:30 STATE: test-node.js passed: details body length 1 +2022-03-19 11:01:30 STATE: test-node.js passed: details body 0.92 17 6 +2022-03-19 11:01:30 STATE: test-node.js passed: details hand length 1 +2022-03-19 11:01:30 STATE: test-node.js passed: details hand 0.51 0.73 point +2022-03-19 11:01:30 STATE: test-node.js passed: details hand arrays 21 5 7 +2022-03-19 11:01:30 STATE: test-node.js passed: details gesture length 6 +2022-03-19 11:01:30 STATE: test-node.js passed: details gesture first {"face":0,"gesture":"facing right"} +2022-03-19 11:01:30 STATE: test-node.js passed: details object length 1 +2022-03-19 11:01:30 STATE: test-node.js passed: details object 0.72 person +2022-03-19 11:01:31 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996928} +2022-03-19 11:01:31 STATE: test-node.js event: image +2022-03-19 11:01:31 STATE: test-node.js event: detect +2022-03-19 11:01:31 STATE: test-node.js passed: tensor shape: [1,1200,1200,4] dtype: float32 +2022-03-19 11:01:31 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1371996928} +2022-03-19 11:01:31 STATE: test-node.js event: image +2022-03-19 11:01:31 STATE: test-node.js event: detect +2022-03-19 11:01:31 STATE: test-node.js passed: tensor shape: [1200,1200,4] dtype: float32 +2022-03-19 11:01:31 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:31 STATE: test-node.js event: image +2022-03-19 11:01:32 STATE: test-node.js event: detect +2022-03-19 11:01:32 STATE: test-node.js passed: tensor shape: [1,1200,1200,3] dtype: float32 +2022-03-19 11:01:32 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:32 STATE: test-node.js event: image +2022-03-19 11:01:32 STATE: test-node.js event: detect +2022-03-19 11:01:32 STATE: test-node.js passed: tensor shape: [1200,1200,3] dtype: float32 +2022-03-19 11:01:32 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} +2022-03-19 11:01:32 STATE: test-node.js event: image +2022-03-19 11:01:32 STATE: test-node.js event: detect +2022-03-19 11:01:32 STATE: test-node.js passed: tensor shape: [1,1200,1200,4] dtype: int32 +2022-03-19 11:01:32 INFO:  test-node.js test default +2022-03-19 11:01:33 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:33 STATE: test-node.js event: image +2022-03-19 11:01:33 STATE: test-node.js event: detect +2022-03-19 11:01:33 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:33 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:33 DATA:  test-node.js result: performance: load: null total: 219 +2022-03-19 11:01:33 STATE: test-node.js passed: default result face match 1 female 0.91 +2022-03-19 11:01:33 INFO:  test-node.js test sync +2022-03-19 11:01:33 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:33 STATE: test-node.js event: image +2022-03-19 11:01:33 STATE: test-node.js event: detect +2022-03-19 11:01:33 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:33 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:33 DATA:  test-node.js result: performance: load: null total: 206 +2022-03-19 11:01:33 STATE: test-node.js passed: default sync 1 female 0.91 +2022-03-19 11:01:33 INFO:  test-node.js test: image process +2022-03-19 11:01:33 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:33 STATE: test-node.js passed: image input null [1,256,256,3] +2022-03-19 11:01:33 INFO:  test-node.js test: image null +2022-03-19 11:01:33 STATE: test-node.js passed: invalid input could not convert input to tensor +2022-03-19 11:01:33 INFO:  test-node.js test face similarity +2022-03-19 11:01:33 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:33 STATE: test-node.js event: image +2022-03-19 11:01:33 STATE: test-node.js event: detect +2022-03-19 11:01:33 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:33 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} +2022-03-19 11:01:33 DATA:  test-node.js result: performance: load: null total: 197 +2022-03-19 11:01:34 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:34 STATE: test-node.js event: image +2022-03-19 11:01:34 STATE: test-node.js event: detect +2022-03-19 11:01:34 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:34 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:34 DATA:  test-node.js result: performance: load: null total: 213 +2022-03-19 11:01:34 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:34 STATE: test-node.js event: image +2022-03-19 11:01:34 STATE: test-node.js event: detect +2022-03-19 11:01:34 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:34 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} +2022-03-19 11:01:34 DATA:  test-node.js result: performance: load: null total: 183 +2022-03-19 11:01:34 STATE: test-node.js passed: face descriptor +2022-03-19 11:01:34 STATE: test-node.js passed: face similarity {"similarity":[1,0.5632803981762933,0.5194114531612539],"descriptors":[1024,1024,1024]} +2022-03-19 11:01:34 INFO:  test-node.js test face matching +2022-03-19 11:01:34 STATE: test-node.js passed: face database 40 +2022-03-19 11:01:34 STATE: test-node.js passed: face match {"first":{"index":4,"similarity":0.8797924743573865}} {"second":{"index":4,"similarity":0.548081908581344}} {"third":{"index":4,"similarity":0.4999696807961951}} +2022-03-19 11:01:34 INFO:  test-node.js test object +2022-03-19 11:01:34 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:34 STATE: test-node.js event: image +2022-03-19 11:01:34 STATE: test-node.js event: detect +2022-03-19 11:01:34 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:34 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:34 DATA:  test-node.js result: performance: load: null total: 221 +2022-03-19 11:01:34 STATE: test-node.js passed: object result match +2022-03-19 11:01:34 INFO:  test-node.js test sensitive +2022-03-19 11:01:35 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:35 STATE: test-node.js event: image +2022-03-19 11:01:35 STATE: test-node.js event: detect +2022-03-19 11:01:35 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:35 DATA:  test-node.js result: face: 1 body: 1 hand: 2 gesture: 8 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:35 DATA:  test-node.js result: performance: load: null total: 223 +2022-03-19 11:01:35 STATE: test-node.js passed: sensitive result match +2022-03-19 11:01:35 STATE: test-node.js passed: sensitive face result match +2022-03-19 11:01:35 STATE: test-node.js passed: sensitive face emotion result [{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}] +2022-03-19 11:01:35 STATE: test-node.js passed: sensitive body result match +2022-03-19 11:01:35 STATE: test-node.js passed: sensitive hand result match +2022-03-19 11:01:35 INFO:  test-node.js test detectors +2022-03-19 11:01:35 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:35 STATE: test-node.js event: image +2022-03-19 11:01:35 STATE: test-node.js event: detect +2022-03-19 11:01:35 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:35 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:35 DATA:  test-node.js result: performance: load: null total: 144 +2022-03-19 11:01:35 STATE: test-node.js passed: detector result face match +2022-03-19 11:01:35 STATE: test-node.js passed: detector result hand match +2022-03-19 11:01:35 INFO:  test-node.js test: multi-instance +2022-03-19 11:01:35 STATE: test-node.js event: image +2022-03-19 11:01:35 STATE: test-node.js event: detect +2022-03-19 11:01:35 STATE: test-node.js passed: detect: random default +2022-03-19 11:01:35 DATA:  test-node.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0.07,"keypoints":15} +2022-03-19 11:01:35 DATA:  test-node.js result: performance: load: null total: 141 +2022-03-19 11:01:35 INFO:  test-node.js test: first instance +2022-03-19 11:01:35 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:36 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:36 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:36 DATA:  test-node.js result: performance: load: null total: 141 +2022-03-19 11:01:36 INFO:  test-node.js test: second instance +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:36 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:36 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:36 DATA:  test-node.js result: performance: load: null total: 137 +2022-03-19 11:01:36 INFO:  test-node.js test: concurrent +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:36 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:37 STATE: test-node.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289024} +2022-03-19 11:01:37 STATE: test-node.js event: image +2022-03-19 11:01:37 STATE: test-node.js event: image +2022-03-19 11:01:37 STATE: test-node.js event: image +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1413 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1413 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1529 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1529 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1529 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1529 +2022-03-19 11:01:38 STATE: test-node.js event: detect +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1245 +2022-03-19 11:01:38 STATE: test-node.js event: detect +2022-03-19 11:01:38 STATE: test-node.js event: detect +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1245 +2022-03-19 11:01:38 STATE: test-node.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:38 DATA:  test-node.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:38 DATA:  test-node.js result: performance: load: null total: 1245 +2022-03-19 11:01:38 INFO:  test-node.js test: monkey-patch +2022-03-19 11:01:38 STATE: test-node.js event: image +2022-03-19 11:01:38 STATE: test-node.js event: detect +2022-03-19 11:01:38 STATE: test-node.js passed: monkey patch +2022-03-19 11:01:38 STATE: test-node.js passed: segmentation [65536] +2022-03-19 11:01:38 STATE: test-node.js passeed: equal usage +2022-03-19 11:01:38 INFO:  test-node.js test: input compare +2022-03-19 11:01:38 STATE: test-node.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:38 STATE: test-node.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796864} +2022-03-19 11:01:38 STATE: test-node.js passed: image compare 0 23.275441687091504 +2022-03-19 11:01:38 INFO:  test-node.js events: {"image":21,"detect":21,"warmup":2} +2022-03-19 11:01:38 INFO:  test-node.js tensors 1925 +2022-03-19 11:01:38 INFO:  test-node.js test complete: 9071 ms +2022-03-19 11:01:38 INFO:  +2022-03-19 11:01:38 INFO:  test-node-gpu.js start +2022-03-19 11:01:40 INFO:  test-node-gpu.js test: configuration validation +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: configuration default validation [] +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] +2022-03-19 11:01:40 INFO:  test-node-gpu.js test: model load +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] +2022-03-19 11:01:40 INFO:  test-node-gpu.js test: warmup +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: create human +2022-03-19 11:01:40 INFO:  test-node-gpu.js human version: 2.6.4 +2022-03-19 11:01:40 INFO:  test-node-gpu.js platform: linux x64 agent: NodeJS v17.4.0 +2022-03-19 11:01:40 INFO:  test-node-gpu.js tfjs version: 3.14.0 +2022-03-19 11:01:40 INFO:  test-node-gpu.js tensorflow binding version: 2.7.0-dev20211101 +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: set backend: tensorflow +2022-03-19 11:01:40 STATE: test-node-gpu.js tensors 1919 +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: load models +2022-03-19 11:01:40 STATE: test-node-gpu.js result: defined models: 22 loaded models: 12 +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: warmup: none default +2022-03-19 11:01:40 DATA:  test-node-gpu.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} +2022-03-19 11:01:40 DATA:  test-node-gpu.js result: performance: load: null total: null +2022-03-19 11:01:40 STATE: test-node-gpu.js passed: warmup none result match +2022-03-19 11:01:40 STATE: test-node-gpu.js event: image +2022-03-19 11:01:43 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:43 STATE: test-node-gpu.js event: warmup +2022-03-19 11:01:43 STATE: test-node-gpu.js passed: warmup: face default +2022-03-19 11:01:43 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.42,"keypoints":4} +2022-03-19 11:01:43 DATA:  test-node-gpu.js result: performance: load: null total: 3114 +2022-03-19 11:01:43 STATE: test-node-gpu.js passed: warmup face result match +2022-03-19 11:01:43 STATE: test-node-gpu.js event: image +2022-03-19 11:01:43 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:43 STATE: test-node-gpu.js event: warmup +2022-03-19 11:01:43 STATE: test-node-gpu.js passed: warmup: body default +2022-03-19 11:01:43 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:43 DATA:  test-node-gpu.js result: performance: load: null total: 233 +2022-03-19 11:01:43 STATE: test-node-gpu.js passed: warmup body result match +2022-03-19 11:01:43 STATE: test-node-gpu.js details: {"face":{"boxScore":0.92,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.89},"emotion":[{"score":0.35,"emotion":"fear"},{"score":0.28,"emotion":"angry"},{"score":0.15,"emotion":"sad"},{"score":0.1,"emotion":"surprise"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.52,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} +2022-03-19 11:01:43 INFO:  test-node-gpu.js test: details verification +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:44 STATE: test-node-gpu.js event: image +2022-03-19 11:01:44 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:44 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:44 DATA:  test-node-gpu.js result: performance: load: null total: 190 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face length 1 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face score 1 0.93 1 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face age/gender 29.6 female 0.91 73.26 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face arrays 4 478 1024 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face anti-spoofing 0.78 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details face liveness 0.83 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details body length 1 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details body 0.92 17 6 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details hand length 1 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details hand 0.51 0.73 point +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details hand arrays 21 5 7 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details gesture length 6 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details gesture first {"face":0,"gesture":"facing right"} +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details object length 1 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: details object 0.72 person +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996928} +2022-03-19 11:01:44 STATE: test-node-gpu.js event: image +2022-03-19 11:01:44 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,4] dtype: float32 +2022-03-19 11:01:44 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1371996928} +2022-03-19 11:01:44 STATE: test-node-gpu.js event: image +2022-03-19 11:01:45 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:45 STATE: test-node-gpu.js passed: tensor shape: [1200,1200,4] dtype: float32 +2022-03-19 11:01:45 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:45 STATE: test-node-gpu.js event: image +2022-03-19 11:01:45 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:45 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,3] dtype: float32 +2022-03-19 11:01:45 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:45 STATE: test-node-gpu.js event: image +2022-03-19 11:01:45 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:45 STATE: test-node-gpu.js passed: tensor shape: [1200,1200,3] dtype: float32 +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} +2022-03-19 11:01:46 STATE: test-node-gpu.js event: image +2022-03-19 11:01:46 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: tensor shape: [1,1200,1200,4] dtype: int32 +2022-03-19 11:01:46 INFO:  test-node-gpu.js test default +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:46 STATE: test-node-gpu.js event: image +2022-03-19 11:01:46 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:46 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:46 DATA:  test-node-gpu.js result: performance: load: null total: 219 +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: default result face match 1 female 0.91 +2022-03-19 11:01:46 INFO:  test-node-gpu.js test sync +2022-03-19 11:01:46 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:46 STATE: test-node-gpu.js event: image +2022-03-19 11:01:47 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: performance: load: null total: 219 +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: default sync 1 female 0.91 +2022-03-19 11:01:47 INFO:  test-node-gpu.js test: image process +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: image input null [1,256,256,3] +2022-03-19 11:01:47 INFO:  test-node-gpu.js test: image null +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: invalid input could not convert input to tensor +2022-03-19 11:01:47 INFO:  test-node-gpu.js test face similarity +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:47 STATE: test-node-gpu.js event: image +2022-03-19 11:01:47 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: performance: load: null total: 200 +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:47 STATE: test-node-gpu.js event: image +2022-03-19 11:01:47 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:47 DATA:  test-node-gpu.js result: performance: load: null total: 198 +2022-03-19 11:01:47 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:47 STATE: test-node-gpu.js event: image +2022-03-19 11:01:48 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: performance: load: null total: 201 +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: face descriptor +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: face similarity {"similarity":[1,0.5630857211196999,0.5193140083083794],"descriptors":[1024,1024,1024]} +2022-03-19 11:01:48 INFO:  test-node-gpu.js test face matching +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: face database 40 +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: face match {"first":{"index":4,"similarity":0.8799993617830532}} {"second":{"index":4,"similarity":0.5479640431307572}} {"third":{"index":4,"similarity":0.49994916272803597}} +2022-03-19 11:01:48 INFO:  test-node-gpu.js test object +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:48 STATE: test-node-gpu.js event: image +2022-03-19 11:01:48 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: performance: load: null total: 180 +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: object result match +2022-03-19 11:01:48 INFO:  test-node-gpu.js test sensitive +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:48 STATE: test-node-gpu.js event: image +2022-03-19 11:01:48 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 2 gesture: 8 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:48 DATA:  test-node-gpu.js result: performance: load: null total: 210 +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: sensitive result match +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: sensitive face result match +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: sensitive face emotion result [{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}] +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: sensitive body result match +2022-03-19 11:01:48 STATE: test-node-gpu.js passed: sensitive hand result match +2022-03-19 11:01:48 INFO:  test-node-gpu.js test detectors +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:49 STATE: test-node-gpu.js event: image +2022-03-19 11:01:49 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: performance: load: null total: 119 +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detector result face match +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detector result hand match +2022-03-19 11:01:49 INFO:  test-node-gpu.js test: multi-instance +2022-03-19 11:01:49 STATE: test-node-gpu.js event: image +2022-03-19 11:01:49 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detect: random default +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0.08,"keypoints":15} +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: performance: load: null total: 116 +2022-03-19 11:01:49 INFO:  test-node-gpu.js test: first instance +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: performance: load: null total: 110 +2022-03-19 11:01:49 INFO:  test-node-gpu.js test: second instance +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:49 DATA:  test-node-gpu.js result: performance: load: null total: 124 +2022-03-19 11:01:49 INFO:  test-node-gpu.js test: concurrent +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:49 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:50 STATE: test-node-gpu.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151289056} +2022-03-19 11:01:50 STATE: test-node-gpu.js event: image +2022-03-19 11:01:50 STATE: test-node-gpu.js event: image +2022-03-19 11:01:50 STATE: test-node-gpu.js event: image +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1068 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1068 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1134 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1134 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1134 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 1134 +2022-03-19 11:01:51 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 877 +2022-03-19 11:01:51 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:51 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 877 +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:51 DATA:  test-node-gpu.js result: performance: load: null total: 877 +2022-03-19 11:01:51 INFO:  test-node-gpu.js test: monkey-patch +2022-03-19 11:01:51 STATE: test-node-gpu.js event: image +2022-03-19 11:01:51 STATE: test-node-gpu.js event: detect +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: monkey patch +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: segmentation [65536] +2022-03-19 11:01:51 STATE: test-node-gpu.js passeed: equal usage +2022-03-19 11:01:51 INFO:  test-node-gpu.js test: input compare +2022-03-19 11:01:51 STATE: test-node-gpu.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34696120} +2022-03-19 11:01:52 STATE: test-node-gpu.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1004796928} +2022-03-19 11:01:52 STATE: test-node-gpu.js passed: image compare 0 23.275441687091504 +2022-03-19 11:01:52 INFO:  test-node-gpu.js events: {"image":21,"detect":21,"warmup":2} +2022-03-19 11:01:52 INFO:  test-node-gpu.js tensors 1925 +2022-03-19 11:01:52 INFO:  test-node-gpu.js test complete: 11979 ms +2022-03-19 11:01:52 INFO:  +2022-03-19 11:01:52 INFO:  test-node-wasm.js start +2022-03-19 11:01:53 STATE: test-node-wasm.js passed: model server: https://vladmandic.github.io/human/models/ +2022-03-19 11:01:53 INFO:  test-node-wasm.js test: configuration validation +2022-03-19 11:01:53 STATE: test-node-wasm.js passed: configuration default validation [] +2022-03-19 11:01:53 STATE: test-node-wasm.js passed: configuration invalid validation [{"reason":"unknown property","where":"config.invalid = true"}] +2022-03-19 11:01:53 INFO:  test-node-wasm.js test: model load +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: models loaded 22 12 [{"name":"ssrnetage","loaded":false},{"name":"gear","loaded":false},{"name":"blazeposedetect","loaded":false},{"name":"blazepose","loaded":false},{"name":"centernet","loaded":true},{"name":"efficientpose","loaded":false},{"name":"mobilefacenet","loaded":false},{"name":"emotion","loaded":true},{"name":"facedetect","loaded":true},{"name":"faceiris","loaded":true},{"name":"facemesh","loaded":true},{"name":"faceres","loaded":true},{"name":"ssrnetgender","loaded":false},{"name":"handpose","loaded":false},{"name":"handskeleton","loaded":true},{"name":"handtrack","loaded":true},{"name":"liveness","loaded":true},{"name":"movenet","loaded":true},{"name":"nanodet","loaded":false},{"name":"posenet","loaded":false},{"name":"segmentation","loaded":true},{"name":"antispoof","loaded":true}] +2022-03-19 11:01:54 INFO:  test-node-wasm.js test: warmup +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: create human +2022-03-19 11:01:54 INFO:  test-node-wasm.js human version: 2.6.4 +2022-03-19 11:01:54 INFO:  test-node-wasm.js platform: linux x64 agent: NodeJS v17.4.0 +2022-03-19 11:01:54 INFO:  test-node-wasm.js tfjs version: 3.14.0 +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: set backend: wasm +2022-03-19 11:01:54 STATE: test-node-wasm.js tensors 1919 +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: load models +2022-03-19 11:01:54 STATE: test-node-wasm.js result: defined models: 22 loaded models: 12 +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: warmup: none default +2022-03-19 11:01:54 DATA:  test-node-wasm.js result: face: 0 body: 0 hand: 0 gesture: 0 object: 0 person: 0 {} {} {} +2022-03-19 11:01:54 DATA:  test-node-wasm.js result: performance: load: null total: null +2022-03-19 11:01:54 STATE: test-node-wasm.js passed: warmup none result match +2022-03-19 11:01:54 STATE: test-node-wasm.js event: image +2022-03-19 11:01:55 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:55 STATE: test-node-wasm.js event: warmup +2022-03-19 11:01:55 STATE: test-node-wasm.js passed: warmup: face default +2022-03-19 11:01:55 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} +2022-03-19 11:01:55 DATA:  test-node-wasm.js result: performance: load: null total: 526 +2022-03-19 11:01:55 STATE: test-node-wasm.js passed: warmup face result match +2022-03-19 11:01:55 STATE: test-node-wasm.js event: image +2022-03-19 11:01:55 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:55 STATE: test-node-wasm.js event: warmup +2022-03-19 11:01:55 STATE: test-node-wasm.js passed: warmup: body default +2022-03-19 11:01:55 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:55 DATA:  test-node-wasm.js result: performance: load: null total: 387 +2022-03-19 11:01:55 STATE: test-node-wasm.js passed: warmup body result match +2022-03-19 11:01:55 STATE: test-node-wasm.js details: {"face":{"boxScore":0.93,"faceScore":1,"age":29.6,"gender":"female","genderScore":0.91},"emotion":[{"score":0.34,"emotion":"fear"},{"score":0.29,"emotion":"angry"},{"score":0.15,"emotion":"sad"}],"body":{"score":0.92,"keypoints":17},"hand":{"boxScore":0.51,"fingerScore":0.73,"keypoints":21},"gestures":[{"face":0,"gesture":"facing right"},{"hand":0,"gesture":"pinky forward"},{"hand":0,"gesture":"palm up"},{"hand":0,"gesture":"open palm"},{"iris":0,"gesture":"looking left"},{"iris":0,"gesture":"looking up"}]} +2022-03-19 11:01:55 INFO:  test-node-wasm.js test: details verification +2022-03-19 11:01:55 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:01:55 STATE: test-node-wasm.js event: image +2022-03-19 11:01:56 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:56 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 6 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:56 DATA:  test-node-wasm.js result: performance: load: null total: 319 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face length 1 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face score 1 0.93 1 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face age/gender 29.6 female 0.91 73.26 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face arrays 4 478 1024 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face emotion 3 {"score":0.34,"emotion":"fear"} +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face anti-spoofing 0.78 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details face liveness 0.83 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details body length 1 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details body 0.92 17 6 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details hand length 1 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details hand 0.51 0.73 point +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details hand arrays 21 5 7 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details gesture length 6 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details gesture first {"face":0,"gesture":"facing right"} +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details object length 1 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: details object 0.72 person +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1413675264} +2022-03-19 11:01:56 STATE: test-node-wasm.js event: image +2022-03-19 11:01:56 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,4] dtype: float32 +2022-03-19 11:01:56 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1200,1200,4] {"checksum":1413675264} +2022-03-19 11:01:56 STATE: test-node-wasm.js event: image +2022-03-19 11:01:57 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:57 STATE: test-node-wasm.js passed: tensor shape: [1200,1200,4] dtype: float32 +2022-03-19 11:01:57 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:01:57 STATE: test-node-wasm.js event: image +2022-03-19 11:01:57 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:57 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,3] dtype: float32 +2022-03-19 11:01:58 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1200,1200,3] {"checksum":1038921856} +2022-03-19 11:01:58 STATE: test-node-wasm.js event: image +2022-03-19 11:01:58 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:58 STATE: test-node-wasm.js passed: tensor shape: [1200,1200,3] dtype: float32 +2022-03-19 11:01:58 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,4] {"checksum":1371996871} +2022-03-19 11:01:58 STATE: test-node-wasm.js event: image +2022-03-19 11:01:58 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:58 STATE: test-node-wasm.js passed: tensor shape: [1,1200,1200,4] dtype: int32 +2022-03-19 11:01:58 INFO:  test-node-wasm.js test default +2022-03-19 11:01:59 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:01:59 STATE: test-node-wasm.js event: image +2022-03-19 11:01:59 STATE: test-node-wasm.js event: detect +2022-03-19 11:01:59 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:01:59 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:01:59 DATA:  test-node-wasm.js result: performance: load: null total: 346 +2022-03-19 11:01:59 STATE: test-node-wasm.js passed: default result face match 1 female 0.93 +2022-03-19 11:01:59 INFO:  test-node-wasm.js test sync +2022-03-19 11:01:59 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:01:59 STATE: test-node-wasm.js event: image +2022-03-19 11:02:00 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: performance: load: null total: 357 +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: default sync 1 female 0.93 +2022-03-19 11:02:00 INFO:  test-node-wasm.js test: image process +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: image input null [1,256,256,3] +2022-03-19 11:02:00 INFO:  test-node-wasm.js test: image null +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: invalid input could not convert input to tensor +2022-03-19 11:02:00 INFO:  test-node-wasm.js test face similarity +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:00 STATE: test-node-wasm.js event: image +2022-03-19 11:02:00 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":23.6,"gender":"female"} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":3} +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: performance: load: null total: 314 +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:00 STATE: test-node-wasm.js event: image +2022-03-19 11:02:00 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:00 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:00 DATA:  test-node-wasm.js result: performance: load: null total: 338 +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:01 STATE: test-node-wasm.js event: image +2022-03-19 11:02:01 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:01 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 4 object: 1 person: 1 {"score":1,"age":29.5,"gender":"female"} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":7} +2022-03-19 11:02:01 DATA:  test-node-wasm.js result: performance: load: null total: 296 +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: face descriptor +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: face similarity {"similarity":[1,0.5888036339038205,0.4689331535670693],"descriptors":[1024,1024,1024]} +2022-03-19 11:02:01 INFO:  test-node-wasm.js test face matching +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: face database 40 +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: face match {"first":{"index":4,"similarity":0.8797924799049534}} {"second":{"index":4,"similarity":0.573642308237338}} {"third":{"index":4,"similarity":0.45582039900188964}} +2022-03-19 11:02:01 INFO:  test-node-wasm.js test object +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:01 STATE: test-node-wasm.js event: image +2022-03-19 11:02:01 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:01 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 7 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:01 DATA:  test-node-wasm.js result: performance: load: null total: 328 +2022-03-19 11:02:01 STATE: test-node-wasm.js passed: object result match +2022-03-19 11:02:01 INFO:  test-node-wasm.js test sensitive +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:02 STATE: test-node-wasm.js event: image +2022-03-19 11:02:02 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:02 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 2 gesture: 9 object: 1 person: 1 {"score":1,"age":29.6,"gender":"female"} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:02 DATA:  test-node-wasm.js result: performance: load: null total: 357 +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: sensitive result match +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: sensitive face result match +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: sensitive face emotion result [{"score":0.54,"emotion":"angry"},{"score":0.2,"emotion":"fear"},{"score":0.16,"emotion":"surprise"}] +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: sensitive body result match +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: sensitive hand result match +2022-03-19 11:02:02 INFO:  test-node-wasm.js test detectors +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:02 STATE: test-node-wasm.js event: image +2022-03-19 11:02:02 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:02 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:02 DATA:  test-node-wasm.js result: performance: load: null total: 244 +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: detector result face match +2022-03-19 11:02:02 STATE: test-node-wasm.js passed: detector result hand match +2022-03-19 11:02:02 INFO:  test-node-wasm.js test: multi-instance +2022-03-19 11:02:03 STATE: test-node-wasm.js event: image +2022-03-19 11:02:03 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: detect: random default +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: face: 0 body: 1 hand: 0 gesture: 0 object: 0 person: 0 {} {} {"score":0.07,"keypoints":15} +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: performance: load: null total: 222 +2022-03-19 11:02:03 INFO:  test-node-wasm.js test: first instance +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: performance: load: null total: 226 +2022-03-19 11:02:03 INFO:  test-node-wasm.js test: second instance +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:02:03 DATA:  test-node-wasm.js result: performance: load: null total: 223 +2022-03-19 11:02:03 INFO:  test-node-wasm.js test: concurrent +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:03 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:04 STATE: test-node-wasm.js passed: load image: samples/in/ai-upper.jpg [1,720,688,3] {"checksum":151155104} +2022-03-19 11:02:04 STATE: test-node-wasm.js event: image +2022-03-19 11:02:04 STATE: test-node-wasm.js event: image +2022-03-19 11:02:04 STATE: test-node-wasm.js event: image +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 1985 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 1985 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 2193 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 2193 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 2193 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 2193 +2022-03-19 11:02:06 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-upper.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 0 gesture: 0 object: 1 person: 1 {"score":0.96} {"score":0.71,"class":"person"} {"score":0.75,"keypoints":16} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 1889 +2022-03-19 11:02:06 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:06 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-face.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 2 object: 1 person: 1 {"score":0.91} {"score":0.82,"class":"person"} {"score":0.47,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 1889 +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: detect: samples/in/ai-body.jpg default +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: face: 1 body: 1 hand: 1 gesture: 0 object: 1 person: 1 {"score":0.93} {"score":0.72,"class":"person"} {"score":0.92,"keypoints":17} +2022-03-19 11:02:06 DATA:  test-node-wasm.js result: performance: load: null total: 1889 +2022-03-19 11:02:06 INFO:  test-node-wasm.js test: monkey-patch +2022-03-19 11:02:06 STATE: test-node-wasm.js event: image +2022-03-19 11:02:06 STATE: test-node-wasm.js event: detect +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: monkey patch +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: segmentation [65536] +2022-03-19 11:02:06 STATE: test-node-wasm.js passeed: equal usage +2022-03-19 11:02:06 INFO:  test-node-wasm.js test: input compare +2022-03-19 11:02:06 STATE: test-node-wasm.js passed: load image: samples/in/ai-face.jpg [1,256,256,3] {"checksum":34697856} +2022-03-19 11:02:07 STATE: test-node-wasm.js passed: load image: samples/in/ai-body.jpg [1,1200,1200,3] {"checksum":1038921856} +2022-03-19 11:02:07 STATE: test-node-wasm.js passed: image compare 0 23.280073018790848 +2022-03-19 11:02:07 INFO:  test-node-wasm.js events: {"image":21,"detect":21,"warmup":2} +2022-03-19 11:02:07 INFO:  test-node-wasm.js tensors 1927 +2022-03-19 11:02:07 INFO:  test-node-wasm.js test complete: 13748 ms +2022-03-19 11:02:07 INFO:  all tests complete +2022-03-19 11:02:07 INFO:  failed: {"count":0,"messages":[]} +2022-03-19 11:02:07 INFO:  status: {"test":"test-node.js","passed":101,"failed":0} +2022-03-19 11:02:07 INFO:  status: {"test":"test-node-gpu.js","passed":101,"failed":0} +2022-03-19 11:02:07 INFO:  status: {"test":"test-node-wasm.js","passed":102,"failed":0}