diff --git a/.eslintrc.json b/.eslintrc.json index 56d41d9e..1592a643 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -40,6 +40,7 @@ "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-shadow": "error", "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/prefer-as-const": "off", "@typescript-eslint/triple-slash-reference": "off", "@typescript-eslint/no-inferrable-types": "off", "@typescript-eslint/no-empty-interface": ["error", { "allowSingleExtends": true }], diff --git a/CHANGELOG.md b/CHANGELOG.md index fcc05e74..05095b3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ ### **HEAD -> main** 2021/11/11 mandic00@live.com +- add similarity score range normalization +- add faceid demo - documentation overhaul - auto tensor shape and channels handling - disable use of path2d in node diff --git a/demo/faceid/index.html b/demo/faceid/index.html index 0367f77e..d6a731a0 100644 --- a/demo/faceid/index.html +++ b/demo/faceid/index.html @@ -18,14 +18,15 @@ html { font-family: 'Lato', 'Segoe UI'; font-size: 16px; font-variant: small-caps; } body { margin: 0; padding: 16px; background: black; color: white; overflow-x: hidden; width: 100vw; height: 100vh; } body::-webkit-scrollbar { display: none; } - .button { padding: 2px; cursor: pointer; box-shadow: 2px 2px black; width: 64px; text-align: center; margin-left: 16px; height: 16px; display: none } + .button { padding: 2px; cursor: pointer; box-shadow: 2px 2px black; width: 64px; text-align: center; place-content: center; margin-left: 16px; height: 16px; display: none } + .ok { position: absolute; top: 64px; right: 20px; width: 100px; background-color: grey; padding: 4px; color: black; font-size: 14px }
- + -