mirror of https://github.com/vladmandic/human
added iris gesture
parent
13575a0997
commit
27761077b5
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -219,7 +219,7 @@ async function setupCamera() {
|
|||
// silly font resizing for paint-on-canvas since viewport can be zoomed
|
||||
const size = Math.trunc(window.devicePixelRatio * (8 + (4 * canvas.width / window.innerWidth)));
|
||||
ui.baseFont = ui.baseFontProto.replace(/{size}/, `${size}px`);
|
||||
ui.baseLineHeight = size + 4;
|
||||
ui.baseLineHeight = size + 2;
|
||||
if (live) video.play();
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
if (live && !ui.detectThread) runHumanDetect(video, canvas);
|
||||
|
|
|
@ -33,10 +33,10 @@ async function drawFace(result, canvas, ui, triangulation) {
|
|||
// silly hack since fillText does not suport new line
|
||||
const labels = [];
|
||||
// labels.push(`${Math.trunc(100 * face.confidence)}% face`);
|
||||
if (face.genderConfidence) labels.push(`${Math.trunc(100 * face.genderConfidence)}% ${face.gender || ''}`);
|
||||
if (face.genderConfidence) labels.push(`${face.gender || ''} ${Math.trunc(100 * face.genderConfidence)}% confident`);
|
||||
// if (face.genderConfidence) labels.push(face.gender);
|
||||
if (face.age) labels.push(`age: ${face.age || ''}`);
|
||||
if (face.iris) labels.push(`iris: ${face.iris}`);
|
||||
if (face.iris) labels.push(`iris distance: ${face.iris}`);
|
||||
if (face.emotion && face.emotion.length > 0) {
|
||||
const emotion = face.emotion.map((a) => `${Math.trunc(100 * a.score)}% ${a.emotion}`);
|
||||
labels.push(emotion.join(' '));
|
||||
|
@ -44,9 +44,9 @@ async function drawFace(result, canvas, ui, triangulation) {
|
|||
ctx.fillStyle = ui.baseLabel;
|
||||
for (let i = 0; i < labels.length; i++) {
|
||||
ctx.fillStyle = 'black';
|
||||
ctx.fillText(labels[i], face.box[0] + face.box[2] + 9, ((i + 1) * ui.baseLineHeight) + face.box[1] + 9);
|
||||
ctx.fillText(labels[i], face.box[0] + 1, face.box[1] - ((labels.length - i) * ui.baseLineHeight) + 6);
|
||||
ctx.fillStyle = ui.baseLabel;
|
||||
ctx.fillText(labels[i], face.box[0] + face.box[2] + 8, ((i + 1) * ui.baseLineHeight) + face.box[1] + 8);
|
||||
ctx.fillText(labels[i], face.box[0] + 0, face.box[1] - ((labels.length - i) * ui.baseLineHeight) + 5);
|
||||
}
|
||||
ctx.fillStyle = ui.baseColor;
|
||||
ctx.stroke();
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"inputs": {
|
||||
"dist/human.esm.js": {
|
||||
"bytes": 1905423,
|
||||
"bytes": 1905330,
|
||||
"imports": []
|
||||
},
|
||||
"demo/draw.js": {
|
||||
"bytes": 10733,
|
||||
"bytes": 10748,
|
||||
"imports": []
|
||||
},
|
||||
"demo/menu.js": {
|
||||
|
@ -38,17 +38,17 @@
|
|||
"dist/demo-browser-index.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 1919448
|
||||
"bytes": 1920005
|
||||
},
|
||||
"dist/demo-browser-index.js": {
|
||||
"imports": [],
|
||||
"exports": [],
|
||||
"inputs": {
|
||||
"dist/human.esm.js": {
|
||||
"bytesInOutput": 1898889
|
||||
"bytesInOutput": 1898093
|
||||
},
|
||||
"demo/draw.js": {
|
||||
"bytesInOutput": 7704
|
||||
"bytesInOutput": 7721
|
||||
},
|
||||
"demo/menu.js": {
|
||||
"bytesInOutput": 11777
|
||||
|
@ -60,7 +60,7 @@
|
|||
"bytesInOutput": 19421
|
||||
}
|
||||
},
|
||||
"bytes": 1951838
|
||||
"bytes": 1951762
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytes": 1592533,
|
||||
"bytes": 1591685,
|
||||
"imports": []
|
||||
},
|
||||
"src/tfjs/backend.js": {
|
||||
|
@ -328,7 +328,7 @@
|
|||
]
|
||||
},
|
||||
"src/gesture/gesture.js": {
|
||||
"bytes": 3308,
|
||||
"bytes": 4245,
|
||||
"imports": []
|
||||
},
|
||||
"src/imagefx.js": {
|
||||
|
@ -358,11 +358,11 @@
|
|||
"imports": []
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 2326,
|
||||
"bytes": 2325,
|
||||
"imports": []
|
||||
},
|
||||
"src/human.js": {
|
||||
"bytes": 17518,
|
||||
"bytes": 17544,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/log.js"
|
||||
|
@ -419,7 +419,7 @@
|
|||
"dist/human.esm.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 1825786
|
||||
"bytes": 1826352
|
||||
},
|
||||
"dist/human.esm.js": {
|
||||
"imports": [],
|
||||
|
@ -506,7 +506,7 @@
|
|||
"bytesInOutput": 2018
|
||||
},
|
||||
"src/gesture/gesture.js": {
|
||||
"bytesInOutput": 2417
|
||||
"bytesInOutput": 3151
|
||||
},
|
||||
"src/imagefx.js": {
|
||||
"bytesInOutput": 13626
|
||||
|
@ -518,13 +518,13 @@
|
|||
"bytesInOutput": 266
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytesInOutput": 1592483
|
||||
"bytesInOutput": 1590928
|
||||
},
|
||||
"src/tfjs/backend.js": {
|
||||
"bytesInOutput": 918
|
||||
},
|
||||
"src/human.js": {
|
||||
"bytesInOutput": 11252
|
||||
"bytesInOutput": 11277
|
||||
},
|
||||
"src/hand/box.js": {
|
||||
"bytesInOutput": 1420
|
||||
|
@ -542,7 +542,7 @@
|
|||
"bytesInOutput": 22
|
||||
}
|
||||
},
|
||||
"bytes": 1905423
|
||||
"bytes": 1905330
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytes": 1592533,
|
||||
"bytes": 1591685,
|
||||
"imports": []
|
||||
},
|
||||
"src/tfjs/backend.js": {
|
||||
|
@ -328,7 +328,7 @@
|
|||
]
|
||||
},
|
||||
"src/gesture/gesture.js": {
|
||||
"bytes": 3308,
|
||||
"bytes": 4245,
|
||||
"imports": []
|
||||
},
|
||||
"src/imagefx.js": {
|
||||
|
@ -358,11 +358,11 @@
|
|||
"imports": []
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 2326,
|
||||
"bytes": 2325,
|
||||
"imports": []
|
||||
},
|
||||
"src/human.js": {
|
||||
"bytes": 17518,
|
||||
"bytes": 17544,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/log.js"
|
||||
|
@ -419,7 +419,7 @@
|
|||
"dist/human.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 1825793
|
||||
"bytes": 1826359
|
||||
},
|
||||
"dist/human.js": {
|
||||
"imports": [],
|
||||
|
@ -504,7 +504,7 @@
|
|||
"bytesInOutput": 2018
|
||||
},
|
||||
"src/gesture/gesture.js": {
|
||||
"bytesInOutput": 2417
|
||||
"bytesInOutput": 3151
|
||||
},
|
||||
"src/imagefx.js": {
|
||||
"bytesInOutput": 13626
|
||||
|
@ -513,13 +513,13 @@
|
|||
"bytesInOutput": 3647
|
||||
},
|
||||
"src/human.js": {
|
||||
"bytesInOutput": 11313
|
||||
"bytesInOutput": 11338
|
||||
},
|
||||
"src/log.js": {
|
||||
"bytesInOutput": 266
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytesInOutput": 1592483
|
||||
"bytesInOutput": 1590928
|
||||
},
|
||||
"src/tfjs/backend.js": {
|
||||
"bytesInOutput": 918
|
||||
|
@ -540,7 +540,7 @@
|
|||
"bytesInOutput": 22
|
||||
}
|
||||
},
|
||||
"bytes": 1905497
|
||||
"bytes": 1905404
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"inputs": {
|
||||
"node_modules/@tensorflow/tfjs/package.json": {
|
||||
"bytes": 5160,
|
||||
"bytes": 5170,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/package.json": {
|
||||
"bytes": 5400,
|
||||
"bytes": 5410,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-data/package.json": {
|
||||
"bytes": 4186,
|
||||
"bytes": 4196,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/package.json": {
|
||||
"bytes": 3934,
|
||||
"bytes": 3944,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-converter/package.json": {
|
||||
"bytes": 4761,
|
||||
"bytes": 4771,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/backends/backend.js": {
|
||||
|
@ -129,7 +129,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/engine.js": {
|
||||
"bytes": 41114,
|
||||
"bytes": 41541,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/backends/backend.js"
|
||||
|
@ -653,7 +653,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/browser.js": {
|
||||
"bytes": 8776,
|
||||
"bytes": 8954,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -14996,7 +14996,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Bincount.js": {
|
||||
"bytes": 1386,
|
||||
"bytes": 1366,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -15147,7 +15147,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Concat_impl.js": {
|
||||
"bytes": 5072,
|
||||
"bytes": 5062,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -15369,7 +15369,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/DenseBincount.js": {
|
||||
"bytes": 1939,
|
||||
"bytes": 1919,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -15672,7 +15672,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/FromPixels.js": {
|
||||
"bytes": 2748,
|
||||
"bytes": 2870,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -16814,7 +16814,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/SplitV.js": {
|
||||
"bytes": 1592,
|
||||
"bytes": 1594,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -16927,7 +16927,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Tile.js": {
|
||||
"bytes": 1615,
|
||||
"bytes": 1724,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -16941,7 +16941,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/TopK.js": {
|
||||
"bytes": 1425,
|
||||
"bytes": 1415,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -17638,584 +17638,17 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js": {
|
||||
"bytes": 1098,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Abs.js": {
|
||||
"bytes": 1512,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js": {
|
||||
"bytes": 2503,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Complex.js": {
|
||||
"bytes": 1658,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/zeros_impl.js": {
|
||||
"bytes": 1432,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Complex.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Identity.js": {
|
||||
"bytes": 1093,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Real.js": {
|
||||
"bytes": 1410,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Cast.js": {
|
||||
"bytes": 3227,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/zeros_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Complex.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Identity.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Real.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js": {
|
||||
"bytes": 6778,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Cast.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Complex.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Add.js": {
|
||||
"bytes": 1328,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Bincount_impl.js": {
|
||||
"bytes": 2352,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js": {
|
||||
"bytes": 1153,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js": {
|
||||
"bytes": 2971,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Ceil.js": {
|
||||
"bytes": 1132,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Concat_impl.js": {
|
||||
"bytes": 1874,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Exp.js": {
|
||||
"bytes": 1122,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Expm1.js": {
|
||||
"bytes": 1142,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Floor.js": {
|
||||
"bytes": 1142,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/GatherV2_impl.js": {
|
||||
"bytes": 1413,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Greater.js": {
|
||||
"bytes": 1200,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Less.js": {
|
||||
"bytes": 1173,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/LinSpace_impl.js": {
|
||||
"bytes": 1083,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Log.js": {
|
||||
"bytes": 1122,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Max_impl.js": {
|
||||
"bytes": 1270,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Maximum.js": {
|
||||
"bytes": 1189,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Minimum.js": {
|
||||
"bytes": 1189,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Multiply.js": {
|
||||
"bytes": 1455,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Neg.js": {
|
||||
"bytes": 1441,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Multiply.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/NotEqual.js": {
|
||||
"bytes": 1211,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Transpose_impl.js": {
|
||||
"bytes": 1530,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Transpose.js": {
|
||||
"bytes": 1589,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Transpose_impl.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Prod.js": {
|
||||
"bytes": 2774,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Transpose.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Range_impl.js": {
|
||||
"bytes": 1591,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Rsqrt.js": {
|
||||
"bytes": 1145,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/unary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Slice.js": {
|
||||
"bytes": 2497,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/cpu_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/SquaredDifference.js": {
|
||||
"bytes": 1296,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/StridedSlice_impl.js": {
|
||||
"bytes": 1236,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Sub.js": {
|
||||
"bytes": 1348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Tile_impl.js": {
|
||||
"bytes": 1536,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/TopK_impl.js": {
|
||||
"bytes": 2221,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Unique_impl.js": {
|
||||
"bytes": 5755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js": {
|
||||
"bytes": 2262,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Abs.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Add.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Bincount_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Ceil.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Concat_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Exp.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Expm1.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Floor.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/GatherV2_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Greater.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Less.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/LinSpace_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Log.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Max_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Maximum.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Minimum.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Multiply.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Neg.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/NotEqual.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Prod.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Range_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Rsqrt.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Slice.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/SquaredDifference.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/StridedSlice_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Sub.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Tile_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/TopK_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Transpose_impl.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Unique_impl.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernel_utils/shared.js": {
|
||||
"bytes": 1290,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -18797,6 +18230,17 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Round.js": {
|
||||
"bytes": 900,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/unary_kernel.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Rsqrt.js": {
|
||||
"bytes": 900,
|
||||
"imports": [
|
||||
|
@ -18866,7 +18310,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/SplitV.js": {
|
||||
"bytes": 1610,
|
||||
"bytes": 1611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -19001,7 +18445,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/register_all_kernels.js": {
|
||||
"bytes": 7247,
|
||||
"bytes": 7311,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -19198,6 +18642,9 @@
|
|||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RotateWithOffset.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Round.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Rsqrt.js"
|
||||
},
|
||||
|
@ -19281,7 +18728,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
|
||||
"bytes": 73950,
|
||||
"bytes": 74064,
|
||||
"imports": [
|
||||
{
|
||||
"path": "empty:path"
|
||||
|
@ -19305,7 +18752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
|
||||
"bytes": 28294,
|
||||
"bytes": 28411,
|
||||
"imports": [
|
||||
{
|
||||
"path": "empty:path"
|
||||
|
@ -21534,7 +20981,7 @@
|
|||
"dist/tfjs.esm.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 1141911
|
||||
"bytes": 1140899
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"imports": [],
|
||||
|
@ -22093,10 +21540,10 @@
|
|||
"bytesInOutput": 37
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
|
||||
"bytesInOutput": 70101
|
||||
"bytesInOutput": 70199
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
|
||||
"bytesInOutput": 26002
|
||||
"bytesInOutput": 26103
|
||||
},
|
||||
"node_modules/seedrandom/lib/alea.js": {
|
||||
"bytesInOutput": 1258
|
||||
|
@ -22180,7 +21627,7 @@
|
|||
"bytesInOutput": 1557
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/engine.js": {
|
||||
"bytesInOutput": 19459
|
||||
"bytesInOutput": 19500
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/device_util.js": {
|
||||
"bytesInOutput": 2380
|
||||
|
@ -22276,7 +21723,7 @@
|
|||
"bytesInOutput": 1155
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/browser.js": {
|
||||
"bytesInOutput": 3978
|
||||
"bytesInOutput": 4098
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor3d.js": {
|
||||
"bytesInOutput": 525
|
||||
|
@ -24652,7 +24099,7 @@
|
|||
"bytesInOutput": 1379
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Bincount.js": {
|
||||
"bytesInOutput": 417
|
||||
"bytesInOutput": 397
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/NotEqual.js": {
|
||||
"bytesInOutput": 181
|
||||
|
@ -24694,7 +24141,7 @@
|
|||
"bytesInOutput": 276
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Concat_impl.js": {
|
||||
"bytesInOutput": 2435
|
||||
"bytesInOutput": 2425
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Concat.js": {
|
||||
"bytesInOutput": 677
|
||||
|
@ -24748,7 +24195,7 @@
|
|||
"bytesInOutput": 1532
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/DenseBincount.js": {
|
||||
"bytesInOutput": 818
|
||||
"bytesInOutput": 798
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/depth_to_space_gpu.js": {
|
||||
"bytesInOutput": 1259
|
||||
|
@ -24841,7 +24288,7 @@
|
|||
"bytesInOutput": 1174
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/FromPixels.js": {
|
||||
"bytesInOutput": 1276
|
||||
"bytesInOutput": 1368
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/FusedConv2D.js": {
|
||||
"bytesInOutput": 1933
|
||||
|
@ -25126,7 +24573,7 @@
|
|||
"bytesInOutput": 752
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/SplitV.js": {
|
||||
"bytesInOutput": 555
|
||||
"bytesInOutput": 557
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Sqrt.js": {
|
||||
"bytesInOutput": 135
|
||||
|
@ -25156,10 +24603,10 @@
|
|||
"bytesInOutput": 833
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Tile.js": {
|
||||
"bytesInOutput": 510
|
||||
"bytesInOutput": 500
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/TopK.js": {
|
||||
"bytesInOutput": 454
|
||||
"bytesInOutput": 444
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Unique.js": {
|
||||
"bytesInOutput": 522
|
||||
|
@ -25224,17 +24671,8 @@
|
|||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/ClipByValue.js": {
|
||||
"bytesInOutput": 513
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Concat_impl.js": {
|
||||
"bytesInOutput": 669
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Range_impl.js": {
|
||||
"bytesInOutput": 534
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Slice.js": {
|
||||
"bytesInOutput": 790
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Concat.js": {
|
||||
"bytesInOutput": 1917
|
||||
"bytesInOutput": 1916
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Conv2D.js": {
|
||||
"bytesInOutput": 1716
|
||||
|
@ -25375,7 +24813,7 @@
|
|||
"bytesInOutput": 1334
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Range.js": {
|
||||
"bytesInOutput": 302
|
||||
"bytesInOutput": 301
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RealDiv.js": {
|
||||
"bytesInOutput": 104
|
||||
|
@ -25395,6 +24833,9 @@
|
|||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RotateWithOffset.js": {
|
||||
"bytesInOutput": 1106
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Round.js": {
|
||||
"bytesInOutput": 48
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Rsqrt.js": {
|
||||
"bytesInOutput": 48
|
||||
},
|
||||
|
@ -25411,13 +24852,13 @@
|
|||
"bytesInOutput": 44
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Slice.js": {
|
||||
"bytesInOutput": 2297
|
||||
"bytesInOutput": 2295
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Softmax.js": {
|
||||
"bytesInOutput": 612
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/SplitV.js": {
|
||||
"bytesInOutput": 546
|
||||
"bytesInOutput": 547
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Sqrt.js": {
|
||||
"bytesInOutput": 46
|
||||
|
@ -25453,7 +24894,7 @@
|
|||
"bytesInOutput": 242
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/register_all_kernels.js": {
|
||||
"bytesInOutput": 1412
|
||||
"bytesInOutput": 1425
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/flags_wasm.js": {
|
||||
"bytesInOutput": 494
|
||||
|
@ -25867,7 +25308,7 @@
|
|||
"bytesInOutput": 22
|
||||
}
|
||||
},
|
||||
"bytes": 1592533
|
||||
"bytes": 1591685
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,17 +156,17 @@
|
|||
"dev": true
|
||||
},
|
||||
"@tensorflow/tfjs": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-2.8.2.tgz",
|
||||
"integrity": "sha512-tn1OE/totTuLl2dl7girxwNik2D2O9ZknghjgJvRZegqE/8FO/ix7mo4ICzMq9cHpW/bVCFKCwqu1PjAx3lkzw==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-2.8.3.tgz",
|
||||
"integrity": "sha512-wJYOaEW9V2woCvTs2vqOtYdb1fr6koVO9YiMXroeRP4BQS3o7x17HtguSVQyQt1mROORbJ1Ji6n63Bc1mZa4rQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.2",
|
||||
"@tensorflow/tfjs-backend-webgl": "2.8.2",
|
||||
"@tensorflow/tfjs-converter": "2.8.2",
|
||||
"@tensorflow/tfjs-core": "2.8.2",
|
||||
"@tensorflow/tfjs-data": "2.8.2",
|
||||
"@tensorflow/tfjs-layers": "2.8.2",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.3",
|
||||
"@tensorflow/tfjs-backend-webgl": "2.8.3",
|
||||
"@tensorflow/tfjs-converter": "2.8.3",
|
||||
"@tensorflow/tfjs-core": "2.8.3",
|
||||
"@tensorflow/tfjs-data": "2.8.3",
|
||||
"@tensorflow/tfjs-layers": "2.8.3",
|
||||
"argparse": "^1.0.10",
|
||||
"chalk": "^4.1.0",
|
||||
"core-js": "3",
|
||||
|
@ -175,9 +175,9 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-cpu": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-2.8.2.tgz",
|
||||
"integrity": "sha512-/puqtocadSmwW+ntiuW6UMhcYk1laMTr1hoWqyvMinaVwxSZwOyfRqDyF9snxHLfCW3uS8HX02LRqh9B4AzD0A==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-2.8.3.tgz",
|
||||
"integrity": "sha512-kMUONKdIknwacUZPR1hIKVba1F8gyiYr7NpzNOf/L7y5li87iRVBcMtYoNn/dEfJ8R/wO6SDeYlDRuDcXXNFlA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/seedrandom": "2.4.27",
|
||||
|
@ -193,40 +193,22 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-wasm": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-2.8.2.tgz",
|
||||
"integrity": "sha512-smt06cLHJMmiOu0laNhS1xOug9EtWz0Orm/MBELFwYfmJC5u95wAX83Ix9zBEu/wsyP0PFAdX4zEN8BCaez7kA==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-2.8.3.tgz",
|
||||
"integrity": "sha512-YPTyHmQuOQM8j1WsICbo78Y/yFUYKj05ZF6yaQWBaTg2YSHLjrkoI1a37P0M1ELoHU7CV6hKigQJG3zhM5SJvg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.2",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.3",
|
||||
"@types/emscripten": "~0.0.34"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tensorflow/tfjs-backend-cpu": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-2.8.2.tgz",
|
||||
"integrity": "sha512-/puqtocadSmwW+ntiuW6UMhcYk1laMTr1hoWqyvMinaVwxSZwOyfRqDyF9snxHLfCW3uS8HX02LRqh9B4AzD0A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/seedrandom": "2.4.27",
|
||||
"seedrandom": "2.4.3"
|
||||
}
|
||||
},
|
||||
"seedrandom": {
|
||||
"version": "2.4.3",
|
||||
"resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-2.4.3.tgz",
|
||||
"integrity": "sha1-JDhQTa0zkXMUv/GKxNeU8W1qrsw=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-webgl": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-2.8.2.tgz",
|
||||
"integrity": "sha512-jfc2mjfwqMvjXDCYvrXwGY1i9MK+1P4COiCnT1r5rMl6IssSNH2WqvaqJFtRWGtgp/QiBY69B6wM6qSJIkOSeg==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-2.8.3.tgz",
|
||||
"integrity": "sha512-II+g0LOcudD2NA4X1990EfrCQhkPyJcgoCjRbV8Y4JBJn5kv6SyOGiE15exyQBqTMBxNTwjXukUf9N4x89Lgag==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.2",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.3",
|
||||
"@types/offscreencanvas": "~2019.3.0",
|
||||
"@types/seedrandom": "2.4.27",
|
||||
"@types/webgl-ext": "0.0.30",
|
||||
|
@ -243,15 +225,15 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-converter": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-2.8.2.tgz",
|
||||
"integrity": "sha512-JJPrS2SClMEnvoC/vBOUlWa03UBl6ZZRIeddjgTo+V1CJyvtYr+njySz9lX5HoCBtrcrLkMcd+1IYFKtgFH1Cg==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-2.8.3.tgz",
|
||||
"integrity": "sha512-Z107Q8/aNyhBd9E1lN6+aZg/uBWvmFSV8AmZrt7MfvDeAPOSyNTj0L9xYF5fxjlWb9ligLlOIbPkTRJ37vsXYw==",
|
||||
"dev": true
|
||||
},
|
||||
"@tensorflow/tfjs-core": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-2.8.2.tgz",
|
||||
"integrity": "sha512-r3Df7phzNa80uoTtlcBGJ/rf+kweSKgN1/VmBT7b53womzoYlw3fQHlZ1WKUbHL9kOf2Zt4y2PPcBiKUQYQC+Q==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-2.8.3.tgz",
|
||||
"integrity": "sha512-wbVuT7clJZIvtYcJPtIX4M49xCC/ccWpHIN+jRWoSBZxR3PJJ9pkh36nBq65aaBsdr5SL6v02oQ2vc7jfjdI3Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/offscreencanvas": "~2019.3.0",
|
||||
|
@ -270,9 +252,9 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-data": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-2.8.2.tgz",
|
||||
"integrity": "sha512-hC/lQe65YCGx0GVWDR/Wf4/B2E9HfWwegWmQ0RzVzcmakF3Y4tOdLRo5vTaar80Un374Uu3ARG/h7YBvneKFCQ==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-2.8.3.tgz",
|
||||
"integrity": "sha512-Rxd4NfKvFQODf0+pMAoCuYWFf8XbaxUbr2gC/06uFnRXrWiTCuKWCSOqAg0lx7V6FLkscmKZNTD7iz0kAr32Og==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node-fetch": "^2.1.2",
|
||||
|
@ -280,19 +262,19 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-layers": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-2.8.2.tgz",
|
||||
"integrity": "sha512-bEYwMeBuiWl+fB5fBmhqwxjjbwBme7KgTDCquOyHoP1P01HZNBAmyJIDCtpqGHBJuGHBOpFga/DBl+9yF7gR6g==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-2.8.3.tgz",
|
||||
"integrity": "sha512-nl3GnLCqofFnswcPjXV+u5P7GLUCQh0xFKVXnjIGPFIemttQNG0BYSVL18EIV53fnMEv9RZ9mC4DF2LgvWg3yg==",
|
||||
"dev": true
|
||||
},
|
||||
"@tensorflow/tfjs-node": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-2.8.2.tgz",
|
||||
"integrity": "sha512-y6b2kv/esRJmeQuucOGYlBVqHH+e/w6O5aD5n0jmK355wxCsulsqCLGnKTK0i1jWYLYL64Osl7VXfq+IaKxS7w==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-2.8.3.tgz",
|
||||
"integrity": "sha512-CLsFew+kAvfQsgbHVhYz7NKztFtWHkHS9A7iYELMfY4tMkKQ4T+l0jkKcwouvDrUxJMVYnFeOGUQCRHKflxrbw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs": "2.8.2",
|
||||
"@tensorflow/tfjs-core": "2.8.2",
|
||||
"@tensorflow/tfjs": "2.8.3",
|
||||
"@tensorflow/tfjs-core": "2.8.3",
|
||||
"adm-zip": "^0.4.11",
|
||||
"google-protobuf": "^3.9.2",
|
||||
"https-proxy-agent": "^2.2.1",
|
||||
|
@ -314,13 +296,13 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-node-gpu": {
|
||||
"version": "2.8.2",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-2.8.2.tgz",
|
||||
"integrity": "sha512-HqoUAD5Dd7fc9TyCPjfSzE8AmMXKgZPTr/ESM29sCR/SqD6VNG4x3kzb9XM/IH5Yi2UiX1cL/AhX0f/nP2OMqQ==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-2.8.3.tgz",
|
||||
"integrity": "sha512-/JVBQ54bIh/okr8jAsRpumxjT7W0q65rEVBJKhzsvDceGRn4VMauyxpho2s8fmwNX+0Rgr3CRID9j+fLYRRsBQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs": "2.8.2",
|
||||
"@tensorflow/tfjs-core": "2.8.2",
|
||||
"@tensorflow/tfjs": "2.8.3",
|
||||
"@tensorflow/tfjs-core": "2.8.3",
|
||||
"adm-zip": "^0.4.11",
|
||||
"google-protobuf": "^3.9.2",
|
||||
"https-proxy-agent": "^2.2.1",
|
||||
|
@ -543,9 +525,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"binary-extensions": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
|
||||
"integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==",
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
||||
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
|
||||
"dev": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -568,13 +550,12 @@
|
|||
}
|
||||
},
|
||||
"call-bind": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz",
|
||||
"integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==",
|
||||
"dev": true,
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.1.tgz",
|
||||
"integrity": "sha512-tvAvUwNcRikl3RVF20X9lsYmmepsovzTWeJiXjO0PkJp15uy/6xKFZOQtuiSULwYW+6ToZBprphCgWXC2dSgcQ==",
|
||||
"requires": {
|
||||
"function-bind": "^1.1.1",
|
||||
"get-intrinsic": "^1.0.0"
|
||||
"get-intrinsic": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"callsites": {
|
||||
|
@ -594,14 +575,14 @@
|
|||
}
|
||||
},
|
||||
"chokidar": {
|
||||
"version": "3.4.3",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
|
||||
"integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==",
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.0.tgz",
|
||||
"integrity": "sha512-JgQM9JS92ZbFR4P90EvmzNpSGhpPBGBSj10PILeDyYFwp4h2/D9OM03wsJ4zW1fEp4ka2DGrnUeD7FuvQ2aZ2Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"anymatch": "~3.1.1",
|
||||
"braces": "~3.0.2",
|
||||
"fsevents": "~2.1.2",
|
||||
"fsevents": "~2.3.1",
|
||||
"glob-parent": "~5.1.0",
|
||||
"is-binary-path": "~2.1.0",
|
||||
"is-glob": "~4.0.1",
|
||||
|
@ -704,9 +685,9 @@
|
|||
}
|
||||
},
|
||||
"dayjs": {
|
||||
"version": "1.10.1",
|
||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.1.tgz",
|
||||
"integrity": "sha512-2xg7JrHQeLBQFkvTumLoy62x1siyeocc98QwjtURgvRqOPYmAkMUdmSjrOA+MlmL6QMQn5MUhDf6rNZNuPc1LQ==",
|
||||
"version": "1.10.3",
|
||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.3.tgz",
|
||||
"integrity": "sha512-/2fdLN987N8Ki7Id8BUN2nhuiRyxTLumQnSQf9CNncFCyqFsSKb9TNhzRYcC8K8eJSJOKvbvkImo/MKKhNi4iw==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
|
@ -837,9 +818,9 @@
|
|||
}
|
||||
},
|
||||
"esbuild": {
|
||||
"version": "0.8.29",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.29.tgz",
|
||||
"integrity": "sha512-UDsEoeXuctVgG2hEts1Hwq2jYDGqV7nksEHEZaiCy2v+lXF5ButX4ErPAJAFi5ZNKKW+6Pom93pArV7hki6HnQ==",
|
||||
"version": "0.8.31",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.31.tgz",
|
||||
"integrity": "sha512-7EIU0VdUxltwivjVezX3HgeNzeIVR1snkrAo57WdUnuBMykdzin5rTrxwCDM6xQqj0RL/HjOEm3wFr2ijHKeaA==",
|
||||
"dev": true
|
||||
},
|
||||
"escalade": {
|
||||
|
@ -1290,17 +1271,16 @@
|
|||
"dev": true
|
||||
},
|
||||
"fsevents": {
|
||||
"version": "2.1.3",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz",
|
||||
"integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==",
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.1.tgz",
|
||||
"integrity": "sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"function-bind": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
||||
"dev": true
|
||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
||||
},
|
||||
"functional-red-black-tree": {
|
||||
"version": "1.0.1",
|
||||
|
@ -1371,7 +1351,6 @@
|
|||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz",
|
||||
"integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"function-bind": "^1.1.1",
|
||||
"has": "^1.0.3",
|
||||
|
@ -1426,7 +1405,6 @@
|
|||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
||||
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"function-bind": "^1.1.1"
|
||||
}
|
||||
|
@ -1440,8 +1418,7 @@
|
|||
"has-symbols": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz",
|
||||
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==",
|
||||
"dev": true
|
||||
"integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg=="
|
||||
},
|
||||
"has-unicode": {
|
||||
"version": "2.0.1",
|
||||
|
@ -1801,9 +1778,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"needle": {
|
||||
"version": "2.5.2",
|
||||
"resolved": "https://registry.npmjs.org/needle/-/needle-2.5.2.tgz",
|
||||
"integrity": "sha512-LbRIwS9BfkPvNwNHlsA41Q29kL2L/6VaOJ0qisM5lLWsTV3nP15abO5ITL6L81zqFhzjRKDAYjpcBcwM0AVvLQ==",
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz",
|
||||
"integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"debug": "^3.2.6",
|
||||
|
@ -2134,8 +2111,7 @@
|
|||
"punycode": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
||||
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
|
||||
"dev": true
|
||||
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
|
||||
},
|
||||
"rc": {
|
||||
"version": "1.2.8",
|
||||
|
@ -2537,10 +2513,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"uri-js": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",
|
||||
"integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",
|
||||
"dev": true,
|
||||
"version": "4.4.1",
|
||||
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
|
||||
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
|
||||
"requires": {
|
||||
"punycode": "^2.1.0"
|
||||
}
|
||||
|
|
26
package.json
26
package.json
|
@ -22,20 +22,20 @@
|
|||
"dependencies": {},
|
||||
"peerDependencies": {},
|
||||
"devDependencies": {
|
||||
"@tensorflow/tfjs": "^2.8.2",
|
||||
"@tensorflow/tfjs-backend-cpu": ">=2.8.2",
|
||||
"@tensorflow/tfjs-backend-wasm": "^2.8.2",
|
||||
"@tensorflow/tfjs-backend-webgl": "^2.8.2",
|
||||
"@tensorflow/tfjs-converter": "^2.8.2",
|
||||
"@tensorflow/tfjs-core": "^2.8.2",
|
||||
"@tensorflow/tfjs-data": "^2.8.2",
|
||||
"@tensorflow/tfjs-layers": "^2.8.2",
|
||||
"@tensorflow/tfjs-node": "^2.8.2",
|
||||
"@tensorflow/tfjs-node-gpu": "^2.8.2",
|
||||
"@tensorflow/tfjs": "^2.8.3",
|
||||
"@tensorflow/tfjs-backend-cpu": "^2.8.3",
|
||||
"@tensorflow/tfjs-backend-wasm": "^2.8.3",
|
||||
"@tensorflow/tfjs-backend-webgl": "^2.8.3",
|
||||
"@tensorflow/tfjs-converter": "^2.8.3",
|
||||
"@tensorflow/tfjs-core": "^2.8.3",
|
||||
"@tensorflow/tfjs-data": "^2.8.3",
|
||||
"@tensorflow/tfjs-layers": "^2.8.3",
|
||||
"@tensorflow/tfjs-node": "^2.8.3",
|
||||
"@tensorflow/tfjs-node-gpu": "^2.8.3",
|
||||
"@vladmandic/pilogger": "^0.2.11",
|
||||
"chokidar": "^3.4.3",
|
||||
"dayjs": "^1.10.1",
|
||||
"esbuild": "^0.8.29",
|
||||
"chokidar": "^3.5.0",
|
||||
"dayjs": "^1.10.3",
|
||||
"esbuild": "^0.8.31",
|
||||
"eslint": "^7.17.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
|
|
|
@ -39,6 +39,25 @@ exports.face = (res) => {
|
|||
return gestures;
|
||||
};
|
||||
|
||||
exports.iris = (res) => {
|
||||
if (!res) return [];
|
||||
const gestures = [];
|
||||
for (let i = 0; i < res.length; i++) {
|
||||
if (!res[i].annotations || !res[i].annotations.leftEyeIris || !res[i].annotations.rightEyeIris) continue;
|
||||
const sizeXLeft = res[i].annotations.leftEyeIris[3][0] - res[i].annotations.leftEyeIris[1][0];
|
||||
const sizeYLeft = res[i].annotations.leftEyeIris[4][1] - res[i].annotations.leftEyeIris[2][1];
|
||||
const areaLeft = Math.abs(sizeXLeft * sizeYLeft);
|
||||
|
||||
const sizeXRight = res[i].annotations.rightEyeIris[3][0] - res[i].annotations.rightEyeIris[1][0];
|
||||
const sizeYRight = res[i].annotations.rightEyeIris[4][1] - res[i].annotations.rightEyeIris[2][1];
|
||||
const areaRight = Math.abs(sizeXRight * sizeYRight);
|
||||
|
||||
const difference = Math.abs(areaLeft - areaRight) / Math.max(areaLeft, areaRight);
|
||||
if (difference < 0.25) gestures.push({ iris: i, gesture: 'looking at camera' });
|
||||
}
|
||||
return gestures;
|
||||
};
|
||||
|
||||
exports.hand = (res) => {
|
||||
if (!res) return [];
|
||||
const gestures = [];
|
||||
|
|
|
@ -449,7 +449,7 @@ class Human {
|
|||
let gestureRes = [];
|
||||
if (this.config.gesture.enabled) {
|
||||
timeStamp = now();
|
||||
gestureRes = [...gesture.face(faceRes), ...gesture.body(poseRes), ...gesture.hand(handRes)];
|
||||
gestureRes = [...gesture.face(faceRes), ...gesture.body(poseRes), ...gesture.hand(handRes), ...gesture.iris(faceRes)];
|
||||
if (!this.config.async) this.perf.gesture = Math.trunc(now() - timeStamp);
|
||||
else if (this.perf.gesture) delete this.perf.gesture;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue