Skip to content

Commit

Permalink
release refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Dec 15, 2021
1 parent 5aacfb6 commit 300f335
Show file tree
Hide file tree
Showing 41 changed files with 751 additions and 769 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

## Changelog

### **HEAD -> main** 2021/12/14 mandic00@live.com
### **2.5.6** 2021/12/15 mandic00@live.com

- strong type for string enums

### **origin/main** 2021/12/14 mandic00@live.com

- rebuild
- fix node detection in electron environment
Expand Down
24 changes: 1 addition & 23 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,4 @@ Feature is automatically disabled in NodeJS without user impact

## Pending Release Notes

New:
- Demo `demos/faceid` that utilizes multiple algorithm to validate input before triggering face recognition
- Type definitions rollup for `Human` and `TFJS`
- Optional module `liveness`
checks if input appears to be a real-world live image or a recording
best used together with module `antispoofing` that checks if input appears to have a realistic face
- Face masking option in `face.config.detector.mask`
result is shading of face image outside of face area which is useful for increased sensitivity of other modules that rely on detected face as input
- Face crop option in `face.config.detector.cropFactor`
result is user-definable fine-tuning for other modules that rely on detected face as input

Other:
- Documentation overhaul
- Improved **Safari** compatibility
- Improved `similarity` and `match` score range normalization
- Improved error handling
- Improved VSCode out-of-the-box experience
- Fix for optional `gear`, `ssrnet`, `mobilefacenet` modules
- Fix for Firefox WebGPU compatibility issue
- Fix face detect box scale and rotation
- Fix body interpolation
- Updated `blazepose` implementation
- Strong typing for all string enums in `config` and `results`
N/A
2 changes: 1 addition & 1 deletion dist/human.esm-nobundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/human.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -72115,7 +72115,7 @@ var Env = class {
var env2 = new Env();

// package.json
var version9 = "2.5.5";
var version9 = "2.5.6";

// src/gear/gear.ts
var model2;
Expand Down
2 changes: 1 addition & 1 deletion dist/human.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/human.node-gpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ var env = new Env();
var tf36 = __toModule(require_tfjs_esm());

// package.json
var version2 = "2.5.5";
var version2 = "2.5.6";

// src/tfjs/humangl.ts
var tf31 = __toModule(require_tfjs_esm());
Expand Down
2 changes: 1 addition & 1 deletion dist/human.node-wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ var env = new Env();
var tf36 = __toModule(require_tfjs_esm());

// package.json
var version2 = "2.5.5";
var version2 = "2.5.6";

// src/tfjs/humangl.ts
var tf31 = __toModule(require_tfjs_esm());
Expand Down
2 changes: 1 addition & 1 deletion dist/human.node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ var env = new Env();
var tf36 = __toModule(require_tfjs_esm());

// package.json
var version2 = "2.5.5";
var version2 = "2.5.6";

// src/tfjs/humangl.ts
var tf31 = __toModule(require_tfjs_esm());
Expand Down
48 changes: 24 additions & 24 deletions test/build.log
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
2021-12-15 09:25:05 INFO:  Application: {"name":"@vladmandic/human","version":"2.5.5"}
2021-12-15 09:25:05 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2021-12-15 09:25:05 INFO:  Toolchain: {"build":"0.6.6","esbuild":"0.13.15","typescript":"4.5.4","typedoc":"0.22.10","eslint":"8.4.1"}
2021-12-15 09:25:05 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2021-12-15 09:25:05 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
2021-12-15 09:25:05 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":1275}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":63,"inputBytes":561428,"outputBytes":464499}
2021-12-15 09:25:06 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":1283}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":63,"inputBytes":561436,"outputBytes":464503}
2021-12-15 09:25:06 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":1350}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":63,"inputBytes":561503,"outputBytes":464575}
2021-12-15 09:25:06 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":1652}
2021-12-15 09:25:06 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2326,"outputBytes":912}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":63,"inputBytes":561065,"outputBytes":466261}
2021-12-15 09:25:06 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":2515619}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":63,"inputBytes":3075772,"outputBytes":1631838}
2021-12-15 09:25:06 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":63,"inputBytes":3075772,"outputBytes":2988731}
2021-12-15 09:25:18 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":110}
2021-12-15 09:25:22 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true}
2021-12-15 09:25:22 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":5864,"outputBytes":4127}
2021-12-15 09:25:22 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":15174,"outputBytes":11794}
2021-12-15 09:25:46 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":93,"errors":0,"warnings":0}
2021-12-15 09:25:46 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2021-12-15 09:25:46 INFO:  Done...
2021-12-15 09:26:43 INFO:  Application: {"name":"@vladmandic/human","version":"2.5.6"}
2021-12-15 09:26:43 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2021-12-15 09:26:43 INFO:  Toolchain: {"build":"0.6.6","esbuild":"0.13.15","typescript":"4.5.4","typedoc":"0.22.10","eslint":"8.4.1"}
2021-12-15 09:26:43 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2021-12-15 09:26:43 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
2021-12-15 09:26:43 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":1275}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":63,"inputBytes":561428,"outputBytes":464499}
2021-12-15 09:26:44 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":1283}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":63,"inputBytes":561436,"outputBytes":464503}
2021-12-15 09:26:44 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":1350}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":63,"inputBytes":561503,"outputBytes":464575}
2021-12-15 09:26:44 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":1652}
2021-12-15 09:26:44 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2326,"outputBytes":912}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":63,"inputBytes":561065,"outputBytes":466261}
2021-12-15 09:26:44 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":2515619}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":63,"inputBytes":3075772,"outputBytes":1631838}
2021-12-15 09:26:44 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":63,"inputBytes":3075772,"outputBytes":2988731}
2021-12-15 09:26:55 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":110}
2021-12-15 09:26:59 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true}
2021-12-15 09:26:59 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":5864,"outputBytes":4127}
2021-12-15 09:26:59 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":15174,"outputBytes":11794}
2021-12-15 09:27:20 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":93,"errors":0,"warnings":0}
2021-12-15 09:27:20 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2021-12-15 09:27:20 INFO:  Done...
Loading

0 comments on commit 300f335

Please sign in to comment.