Skip to content

Commit 300f335

Browse files
committed
release refresh
1 parent 5aacfb6 commit 300f335

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+751
-769
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99

1010
## Changelog
1111

12-
### **HEAD -> main** 2021/12/14 [email protected]
12+
### **2.5.6** 2021/12/15 [email protected]
13+
14+
- strong type for string enums
15+
16+
### **origin/main** 2021/12/14 [email protected]
1317

1418
- rebuild
1519
- fix node detection in electron environment

TODO.md

+1-23
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,4 @@ Feature is automatically disabled in NodeJS without user impact
3434

3535
## Pending Release Notes
3636

37-
New:
38-
- Demo `demos/faceid` that utilizes multiple algorithm to validate input before triggering face recognition
39-
- Type definitions rollup for `Human` and `TFJS`
40-
- Optional module `liveness`
41-
checks if input appears to be a real-world live image or a recording
42-
best used together with module `antispoofing` that checks if input appears to have a realistic face
43-
- Face masking option in `face.config.detector.mask`
44-
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
45-
- Face crop option in `face.config.detector.cropFactor`
46-
result is user-definable fine-tuning for other modules that rely on detected face as input
47-
48-
Other:
49-
- Documentation overhaul
50-
- Improved **Safari** compatibility
51-
- Improved `similarity` and `match` score range normalization
52-
- Improved error handling
53-
- Improved VSCode out-of-the-box experience
54-
- Fix for optional `gear`, `ssrnet`, `mobilefacenet` modules
55-
- Fix for Firefox WebGPU compatibility issue
56-
- Fix face detect box scale and rotation
57-
- Fix body interpolation
58-
- Updated `blazepose` implementation
59-
- Strong typing for all string enums in `config` and `results`
37+
N/A

dist/human.esm-nobundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/human.esm.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/human.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/human.node-gpu.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ var env = new Env();
13711371
var tf36 = __toModule(require_tfjs_esm());
13721372

13731373
// package.json
1374-
var version2 = "2.5.5";
1374+
var version2 = "2.5.6";
13751375

13761376
// src/tfjs/humangl.ts
13771377
var tf31 = __toModule(require_tfjs_esm());

dist/human.node-wasm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ var env = new Env();
13721372
var tf36 = __toModule(require_tfjs_esm());
13731373

13741374
// package.json
1375-
var version2 = "2.5.5";
1375+
var version2 = "2.5.6";
13761376

13771377
// src/tfjs/humangl.ts
13781378
var tf31 = __toModule(require_tfjs_esm());

dist/human.node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ var env = new Env();
13711371
var tf36 = __toModule(require_tfjs_esm());
13721372

13731373
// package.json
1374-
var version2 = "2.5.5";
1374+
var version2 = "2.5.6";
13751375

13761376
// src/tfjs/humangl.ts
13771377
var tf31 = __toModule(require_tfjs_esm());

test/build.log

+24-24
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
2021-12-15 09:25:05 INFO:  Application: {"name":"@vladmandic/human","version":"2.5.5"}
2-
2021-12-15 09:25:05 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
3-
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"}
4-
2021-12-15 09:25:05 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
5-
2021-12-15 09:25:05 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
6-
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}
7-
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}
8-
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}
9-
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}
10-
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}
11-
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}
12-
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}
13-
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}
14-
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}
15-
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}
16-
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}
17-
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}
18-
2021-12-15 09:25:18 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":110}
19-
2021-12-15 09:25:22 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true}
20-
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}
21-
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}
22-
2021-12-15 09:25:46 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":93,"errors":0,"warnings":0}
23-
2021-12-15 09:25:46 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
24-
2021-12-15 09:25:46 INFO:  Done...
1+
2021-12-15 09:26:43 INFO:  Application: {"name":"@vladmandic/human","version":"2.5.6"}
2+
2021-12-15 09:26:43 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
3+
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"}
4+
2021-12-15 09:26:43 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
5+
2021-12-15 09:26:43 STATE: Clean: {"locations":["dist/*","types/lib/*","typedoc/*"]}
6+
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}
7+
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}
8+
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}
9+
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}
10+
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}
11+
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}
12+
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}
13+
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}
14+
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}
15+
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}
16+
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}
17+
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}
18+
2021-12-15 09:26:55 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":110}
19+
2021-12-15 09:26:59 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":69,"generated":true}
20+
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}
21+
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}
22+
2021-12-15 09:27:20 STATE: Lint: {"locations":["*.json","src/**/*.ts","test/**/*.js","demo/**/*.js"],"files":93,"errors":0,"warnings":0}
23+
2021-12-15 09:27:20 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
24+
2021-12-15 09:27:20 INFO:  Done...

0 commit comments

Comments
 (0)