From 0b9baffbfdcb9f57a3d4408cf36629d1b62a882d Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 18 May 2021 08:22:33 -0400 Subject: [PATCH] update dependencies --- CHANGELOG.md | 7 ++++--- TODO.md | 2 +- demo/node-video.js | 1 + demo/node-webcam.js | 1 + test/test-node-wasm.js | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 236c7759..310a4d73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # @vladmandic/human -Version: **1.8.4** +Version: **1.8.5** Description: **Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition** Author: **Vladimir Mandic ** @@ -9,11 +9,12 @@ Repository: **** ## Changelog -### **HEAD -> main** 2021/05/17 mandic00@live.com +### **1.8.5** 2021/05/18 mandic00@live.com -### **origin/main** 2021/05/16 mandic00@live.com +### **origin/main** 2021/05/17 mandic00@live.com +- add node-video sample - add node-webcam demo - fix node build and update model signatures diff --git a/TODO.md b/TODO.md index 299e0a48..4ed2df4a 100644 --- a/TODO.md +++ b/TODO.md @@ -18,4 +18,4 @@ N/A ## In Progress -- Refactor BlazeFace to avoid data and array access and use buffers where needed +N/A diff --git a/demo/node-video.js b/demo/node-video.js index a98f2077..29fd41ac 100644 --- a/demo/node-video.js +++ b/demo/node-video.js @@ -9,6 +9,7 @@ const spawn = require('child_process').spawn; const log = require('@vladmandic/pilogger'); +// eslint-disable-next-line node/no-missing-require const Pipe2Jpeg = require('pipe2jpeg'); // for NodeJS, `tfjs-node` or `tfjs-node-gpu` should be loaded before using Human // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars diff --git a/demo/node-webcam.js b/demo/node-webcam.js index c4eede07..766ce614 100644 --- a/demo/node-webcam.js +++ b/demo/node-webcam.js @@ -4,6 +4,7 @@ const util = require('util'); const log = require('@vladmandic/pilogger'); +// eslint-disable-next-line node/no-missing-require const nodeWebCam = require('node-webcam'); // for NodeJS, `tfjs-node` or `tfjs-node-gpu` should be loaded before using Human // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars diff --git a/test/test-node-wasm.js b/test/test-node-wasm.js index 8400814c..facc6cdd 100644 --- a/test/test-node-wasm.js +++ b/test/test-node-wasm.js @@ -4,7 +4,7 @@ const test = require('./test-main.js').test; const config = { modelBasePath: 'http://localhost:10030/models/', backend: 'wasm', - wasmPath: 'assets/', + wasmPath: 'node_modules/@tensorflow/tfjs-backend-wasm/dist/', debug: false, videoOptimized: false, async: false,