added tsc build typings
parent
b8d37ba92a
commit
c130c29acb
45
build.js
45
build.js
|
@ -2,6 +2,7 @@
|
|||
|
||||
const fs = require('fs');
|
||||
const esbuild = require('esbuild');
|
||||
const ts = require('typescript');
|
||||
const log = require('@vladmandic/pilogger');
|
||||
|
||||
// keeps esbuild service instance cached
|
||||
|
@ -14,6 +15,25 @@ const banner = `
|
|||
*/
|
||||
`;
|
||||
|
||||
// tsc configuration
|
||||
|
||||
const tsconfig = {
|
||||
noEmitOnError: false,
|
||||
target: ts.ScriptTarget.ES2018,
|
||||
module: ts.ModuleKind.ES2020,
|
||||
outFile: "dist/face-api.d.ts",
|
||||
declaration: true,
|
||||
emitDeclarationOnly: true,
|
||||
emitDecoratorMetadata: true,
|
||||
experimentalDecorators: true,
|
||||
skipLibCheck: true,
|
||||
strictNullChecks: true,
|
||||
baseUrl: './',
|
||||
paths: {
|
||||
tslib: ["node_modules/tslib/tslib.d.ts"]
|
||||
},
|
||||
};
|
||||
|
||||
// common configuration
|
||||
const common = {
|
||||
banner,
|
||||
|
@ -137,6 +157,25 @@ async function getStats(metafile) {
|
|||
return stats;
|
||||
}
|
||||
|
||||
function compile(fileNames, options) {
|
||||
log.info('Compile:', fileNames);
|
||||
const program = ts.createProgram(fileNames, options);
|
||||
const emit = program.emit();
|
||||
const diag = ts
|
||||
.getPreEmitDiagnostics(program)
|
||||
.concat(emit.diagnostics);
|
||||
for (const info of diag) {
|
||||
const msg = info.messageText.messageText || info.messageText;
|
||||
if (msg.includes('package.json')) continue;
|
||||
if (info.file) {
|
||||
const pos = info.file.getLineAndCharacterOfPosition(info.start);
|
||||
log.error(`TSC: ${info.file.fileName} [${pos.line + 1},${pos.character + 1}]:`, msg);
|
||||
} else {
|
||||
log.error('TSCC:', msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// rebuild on file change
|
||||
async function build(f, msg) {
|
||||
log.info('Build: file', msg, f, 'target:', common.target);
|
||||
|
@ -153,12 +192,16 @@ async function build(f, msg) {
|
|||
log.state(`Build for: ${targetGroupName} type: ${targetName}:`, stats);
|
||||
}
|
||||
}
|
||||
if (require.main === module) process.exit(0);
|
||||
} catch (err) {
|
||||
// catch errors and print where it occured
|
||||
log.error('Build error', JSON.stringify(err.errors || err, null, 2));
|
||||
if (require.main === module) process.exit(1);
|
||||
}
|
||||
|
||||
// generate typings
|
||||
compile(targets.browserBundle.esm.entryPoints, tsconfig);
|
||||
|
||||
if (require.main === module) process.exit(0);
|
||||
}
|
||||
|
||||
if (require.main === module) {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,11 +5,11 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/draw/drawContour.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": []
|
||||
},
|
||||
"src/classes/Dimensions.ts": {
|
||||
"bytes": 731,
|
||||
"bytes": 737,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
},
|
||||
"src/utils/index.ts": {
|
||||
"bytes": 1770,
|
||||
"bytes": 1776,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -35,7 +35,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/Box.ts": {
|
||||
"bytes": 5471,
|
||||
"bytes": 5477,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -77,7 +77,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ops/minBbox.ts": {
|
||||
"bytes": 473,
|
||||
"bytes": 479,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -144,7 +144,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks.ts": {
|
||||
"bytes": 4155,
|
||||
"bytes": 4167,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ops/index.ts"
|
||||
|
@ -170,7 +170,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks5.ts": {
|
||||
"bytes": 352,
|
||||
"bytes": 358,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -181,7 +181,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks68.ts": {
|
||||
"bytes": 899,
|
||||
"bytes": 905,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -192,7 +192,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceMatch.ts": {
|
||||
"bytes": 564,
|
||||
"bytes": 570,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -200,7 +200,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/LabeledBox.ts": {
|
||||
"bytes": 635,
|
||||
"bytes": 641,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -215,7 +215,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/PredictedBox.ts": {
|
||||
"bytes": 938,
|
||||
"bytes": 944,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -332,7 +332,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/resolveInput.ts": {
|
||||
"bytes": 191,
|
||||
"bytes": 197,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -340,7 +340,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getContext2dOrThrow.ts": {
|
||||
"bytes": 660,
|
||||
"bytes": 666,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -351,7 +351,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawTextField.ts": {
|
||||
"bytes": 3704,
|
||||
"bytes": 3710,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getContext2dOrThrow.ts"
|
||||
|
@ -362,7 +362,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawBox.ts": {
|
||||
"bytes": 1744,
|
||||
"bytes": 1750,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -376,7 +376,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawDetections.ts": {
|
||||
"bytes": 1006,
|
||||
"bytes": 1018,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -396,7 +396,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaLoaded.ts": {
|
||||
"bytes": 270,
|
||||
"bytes": 276,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -404,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/awaitMediaLoaded.ts": {
|
||||
"bytes": 842,
|
||||
"bytes": 848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -415,7 +415,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/bufferToImage.ts": {
|
||||
"bytes": 685,
|
||||
"bytes": 691,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -423,7 +423,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getMediaDimensions.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/Dimensions.ts"
|
||||
|
@ -434,7 +434,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/createCanvas.ts": {
|
||||
"bytes": 1122,
|
||||
"bytes": 1128,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -451,7 +451,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageTensorToCanvas.ts": {
|
||||
"bytes": 599,
|
||||
"bytes": 611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -465,7 +465,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaElement.ts": {
|
||||
"bytes": 220,
|
||||
"bytes": 226,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -473,7 +473,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageToSquare.ts": {
|
||||
"bytes": 1156,
|
||||
"bytes": 1162,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -490,7 +490,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/NetInput.ts": {
|
||||
"bytes": 5453,
|
||||
"bytes": 5465,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -513,7 +513,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/toNetInput.ts": {
|
||||
"bytes": 2094,
|
||||
"bytes": 2100,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -533,7 +533,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaces.ts": {
|
||||
"bytes": 1749,
|
||||
"bytes": 1755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceDetection.ts"
|
||||
|
@ -556,7 +556,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaceTensors.ts": {
|
||||
"bytes": 1706,
|
||||
"bytes": 1718,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -570,7 +570,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/fetchOrThrow.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -623,7 +623,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/matchDimensions.ts": {
|
||||
"bytes": 390,
|
||||
"bytes": 396,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getMediaDimensions.ts"
|
||||
|
@ -703,7 +703,7 @@
|
|||
]
|
||||
},
|
||||
"src/NeuralNetwork.ts": {
|
||||
"bytes": 5095,
|
||||
"bytes": 5113,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -728,7 +728,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/denseBlock.ts": {
|
||||
"bytes": 2015,
|
||||
"bytes": 2021,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -782,7 +782,7 @@
|
|||
]
|
||||
},
|
||||
"src/common/extractWeightEntryFactory.ts": {
|
||||
"bytes": 581,
|
||||
"bytes": 587,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -829,7 +829,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractorsFactory.ts": {
|
||||
"bytes": 1562,
|
||||
"bytes": 1568,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -837,7 +837,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParams.ts": {
|
||||
"bytes": 1002,
|
||||
"bytes": 1008,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceFeatureExtractor/loadParamsFactory.ts": {
|
||||
"bytes": 1516,
|
||||
"bytes": 1522,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -863,7 +863,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 827,
|
||||
"bytes": 833,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -874,7 +874,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
|
||||
"bytes": 1782,
|
||||
"bytes": 1794,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -908,7 +908,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParams.ts": {
|
||||
"bytes": 745,
|
||||
"bytes": 751,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -916,7 +916,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 833,
|
||||
"bytes": 839,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -928,7 +928,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceProcessor/FaceProcessor.ts": {
|
||||
"bytes": 3009,
|
||||
"bytes": 3015,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -958,7 +958,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceExpressionNet/FaceExpressionNet.ts": {
|
||||
"bytes": 1642,
|
||||
"bytes": 1648,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -997,7 +997,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawFaceExpressions.ts": {
|
||||
"bytes": 1501,
|
||||
"bytes": 1519,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawFaceLandmarks.ts": {
|
||||
"bytes": 3365,
|
||||
"bytes": 3371,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceLandmarks.ts"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParams.ts": {
|
||||
"bytes": 3400,
|
||||
"bytes": 3412,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3093,
|
||||
"bytes": 3105,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/TinyXception.ts": {
|
||||
"bytes": 3099,
|
||||
"bytes": 3123,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParams.ts": {
|
||||
"bytes": 763,
|
||||
"bytes": 769,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 900,
|
||||
"bytes": 906,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1147,11 +1147,11 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/types.ts": {
|
||||
"bytes": 393,
|
||||
"bytes": 399,
|
||||
"imports": []
|
||||
},
|
||||
"src/ageGenderNet/AgeGenderNet.ts": {
|
||||
"bytes": 4217,
|
||||
"bytes": 4223,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceLandmarkNet/FaceLandmark68NetBase.ts": {
|
||||
"bytes": 3677,
|
||||
"bytes": 3695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1228,7 +1228,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": {
|
||||
"bytes": 791,
|
||||
"bytes": 797,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1239,7 +1239,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsTiny.ts": {
|
||||
"bytes": 945,
|
||||
"bytes": 951,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1250,7 +1250,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
|
||||
"bytes": 1793,
|
||||
"bytes": 1805,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1320,7 +1320,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParams.ts": {
|
||||
"bytes": 4843,
|
||||
"bytes": 4855,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3109,
|
||||
"bytes": 3121,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/FaceRecognitionNet.ts": {
|
||||
"bytes": 2934,
|
||||
"bytes": 2946,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1404,7 +1404,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/factories/WithGender.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/types.ts"
|
||||
|
@ -1438,7 +1438,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParams.ts": {
|
||||
"bytes": 8244,
|
||||
"bytes": 8250,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 5846,
|
||||
"bytes": 5858,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/nonMaxSuppression.ts": {
|
||||
"bytes": 2186,
|
||||
"bytes": 2193,
|
||||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/outputLayer.ts": {
|
||||
|
@ -1491,7 +1491,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/boxPredictionLayer.ts": {
|
||||
"bytes": 606,
|
||||
"bytes": 612,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1520,7 +1520,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/SsdMobilenetv1.ts": {
|
||||
"bytes": 3772,
|
||||
"bytes": 3784,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/const.ts": {
|
||||
"bytes": 689,
|
||||
"bytes": 695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1617,7 +1617,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParams.ts": {
|
||||
"bytes": 3856,
|
||||
"bytes": 3862,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1634,7 +1634,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3259,
|
||||
"bytes": 3265,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/disposeUnusedWeightTensors.ts"
|
||||
|
@ -1652,7 +1652,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2Base.ts": {
|
||||
"bytes": 9587,
|
||||
"bytes": 9605,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2.ts": {
|
||||
"bytes": 1786,
|
||||
"bytes": 1792,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1719,7 +1719,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/types.ts": {
|
||||
"bytes": 948,
|
||||
"bytes": 954,
|
||||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/index.ts": {
|
||||
|
@ -1740,7 +1740,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetectorOptions.ts": {
|
||||
"bytes": 265,
|
||||
"bytes": 271,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/tinyYolov2/index.ts"
|
||||
|
@ -1752,7 +1752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/extractFacesAndComputeResults.ts": {
|
||||
"bytes": 1842,
|
||||
"bytes": 1848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1766,7 +1766,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/const.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 349,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1774,7 +1774,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetector.ts": {
|
||||
"bytes": 1439,
|
||||
"bytes": 1463,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1788,7 +1788,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/nets.ts": {
|
||||
"bytes": 6517,
|
||||
"bytes": 6529,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/AgeGenderNet.ts"
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictFaceExpressionsTask.ts": {
|
||||
"bytes": 3618,
|
||||
"bytes": 3635,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceExpressions.ts"
|
||||
|
@ -1840,7 +1840,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictAgeAndGenderTask.ts": {
|
||||
"bytes": 3798,
|
||||
"bytes": 3815,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithAge.ts"
|
||||
|
@ -1866,7 +1866,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/ComputeFaceDescriptorsTasks.ts": {
|
||||
"bytes": 3012,
|
||||
"bytes": 3029,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDescriptor.ts"
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFaceLandmarksTasks.ts": {
|
||||
"bytes": 3790,
|
||||
"bytes": 3807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1918,7 +1918,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFacesTasks.ts": {
|
||||
"bytes": 4061,
|
||||
"bytes": 4073,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDetection.ts"
|
||||
|
@ -1950,7 +1950,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/detectFaces.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/SsdMobilenetv1Options.ts"
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/allFaces.ts": {
|
||||
"bytes": 1259,
|
||||
"bytes": 1283,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/index.ts"
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/FaceMatcher.ts": {
|
||||
"bytes": 2967,
|
||||
"bytes": 2973,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceMatch.ts"
|
||||
|
@ -1993,7 +1993,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/types.ts": {
|
||||
"bytes": 500,
|
||||
"bytes": 512,
|
||||
"imports": []
|
||||
},
|
||||
"src/globalApi/index.ts": {
|
||||
|
@ -2043,7 +2043,7 @@
|
|||
]
|
||||
},
|
||||
"src/resizeResults.ts": {
|
||||
"bytes": 1502,
|
||||
"bytes": 1508,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -2063,11 +2063,11 @@
|
|||
]
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 1353,
|
||||
"bytes": 1363,
|
||||
"imports": []
|
||||
},
|
||||
"src/index.ts": {
|
||||
"bytes": 1341,
|
||||
"bytes": 988,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
"dist/face-api.esm-nobundle.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 392501
|
||||
"bytes": 392773
|
||||
},
|
||||
"dist/face-api.esm-nobundle.js": {
|
||||
"imports": [],
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"inputs": {
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytes": 1573542,
|
||||
"bytes": 1572551,
|
||||
"imports": []
|
||||
},
|
||||
"src/draw/drawContour.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": []
|
||||
},
|
||||
"src/classes/Dimensions.ts": {
|
||||
"bytes": 731,
|
||||
"bytes": 737,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
},
|
||||
"src/utils/index.ts": {
|
||||
"bytes": 1770,
|
||||
"bytes": 1776,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -35,7 +35,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/Box.ts": {
|
||||
"bytes": 5471,
|
||||
"bytes": 5477,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -77,7 +77,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ops/minBbox.ts": {
|
||||
"bytes": 473,
|
||||
"bytes": 479,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -144,7 +144,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks.ts": {
|
||||
"bytes": 4155,
|
||||
"bytes": 4167,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ops/index.ts"
|
||||
|
@ -170,7 +170,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks5.ts": {
|
||||
"bytes": 352,
|
||||
"bytes": 358,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -181,7 +181,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks68.ts": {
|
||||
"bytes": 899,
|
||||
"bytes": 905,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -192,7 +192,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceMatch.ts": {
|
||||
"bytes": 564,
|
||||
"bytes": 570,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -200,7 +200,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/LabeledBox.ts": {
|
||||
"bytes": 635,
|
||||
"bytes": 641,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -215,7 +215,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/PredictedBox.ts": {
|
||||
"bytes": 938,
|
||||
"bytes": 944,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -332,7 +332,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/resolveInput.ts": {
|
||||
"bytes": 191,
|
||||
"bytes": 197,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -340,7 +340,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getContext2dOrThrow.ts": {
|
||||
"bytes": 660,
|
||||
"bytes": 666,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -351,7 +351,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawTextField.ts": {
|
||||
"bytes": 3704,
|
||||
"bytes": 3710,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getContext2dOrThrow.ts"
|
||||
|
@ -362,7 +362,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawBox.ts": {
|
||||
"bytes": 1744,
|
||||
"bytes": 1750,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -376,7 +376,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawDetections.ts": {
|
||||
"bytes": 1006,
|
||||
"bytes": 1018,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -396,7 +396,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaLoaded.ts": {
|
||||
"bytes": 270,
|
||||
"bytes": 276,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -404,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/awaitMediaLoaded.ts": {
|
||||
"bytes": 842,
|
||||
"bytes": 848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -415,7 +415,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/bufferToImage.ts": {
|
||||
"bytes": 685,
|
||||
"bytes": 691,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -423,7 +423,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getMediaDimensions.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/Dimensions.ts"
|
||||
|
@ -434,7 +434,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/createCanvas.ts": {
|
||||
"bytes": 1122,
|
||||
"bytes": 1128,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -451,7 +451,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageTensorToCanvas.ts": {
|
||||
"bytes": 599,
|
||||
"bytes": 611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -465,7 +465,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaElement.ts": {
|
||||
"bytes": 220,
|
||||
"bytes": 226,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -473,7 +473,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageToSquare.ts": {
|
||||
"bytes": 1156,
|
||||
"bytes": 1162,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -490,7 +490,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/NetInput.ts": {
|
||||
"bytes": 5453,
|
||||
"bytes": 5465,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -513,7 +513,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/toNetInput.ts": {
|
||||
"bytes": 2094,
|
||||
"bytes": 2100,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -533,7 +533,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaces.ts": {
|
||||
"bytes": 1749,
|
||||
"bytes": 1755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceDetection.ts"
|
||||
|
@ -556,7 +556,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaceTensors.ts": {
|
||||
"bytes": 1706,
|
||||
"bytes": 1718,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -570,7 +570,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/fetchOrThrow.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -623,7 +623,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/matchDimensions.ts": {
|
||||
"bytes": 390,
|
||||
"bytes": 396,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getMediaDimensions.ts"
|
||||
|
@ -703,7 +703,7 @@
|
|||
]
|
||||
},
|
||||
"src/NeuralNetwork.ts": {
|
||||
"bytes": 5095,
|
||||
"bytes": 5113,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -728,7 +728,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/denseBlock.ts": {
|
||||
"bytes": 2015,
|
||||
"bytes": 2021,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -782,7 +782,7 @@
|
|||
]
|
||||
},
|
||||
"src/common/extractWeightEntryFactory.ts": {
|
||||
"bytes": 581,
|
||||
"bytes": 587,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -829,7 +829,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractorsFactory.ts": {
|
||||
"bytes": 1562,
|
||||
"bytes": 1568,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -837,7 +837,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParams.ts": {
|
||||
"bytes": 1002,
|
||||
"bytes": 1008,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceFeatureExtractor/loadParamsFactory.ts": {
|
||||
"bytes": 1516,
|
||||
"bytes": 1522,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -863,7 +863,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 827,
|
||||
"bytes": 833,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -874,7 +874,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
|
||||
"bytes": 1782,
|
||||
"bytes": 1794,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -908,7 +908,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParams.ts": {
|
||||
"bytes": 745,
|
||||
"bytes": 751,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -916,7 +916,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 833,
|
||||
"bytes": 839,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -928,7 +928,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceProcessor/FaceProcessor.ts": {
|
||||
"bytes": 3009,
|
||||
"bytes": 3015,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -958,7 +958,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceExpressionNet/FaceExpressionNet.ts": {
|
||||
"bytes": 1642,
|
||||
"bytes": 1648,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -997,7 +997,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawFaceExpressions.ts": {
|
||||
"bytes": 1501,
|
||||
"bytes": 1519,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawFaceLandmarks.ts": {
|
||||
"bytes": 3365,
|
||||
"bytes": 3371,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceLandmarks.ts"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParams.ts": {
|
||||
"bytes": 3400,
|
||||
"bytes": 3412,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3093,
|
||||
"bytes": 3105,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/TinyXception.ts": {
|
||||
"bytes": 3099,
|
||||
"bytes": 3123,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParams.ts": {
|
||||
"bytes": 763,
|
||||
"bytes": 769,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 900,
|
||||
"bytes": 906,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1147,11 +1147,11 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/types.ts": {
|
||||
"bytes": 393,
|
||||
"bytes": 399,
|
||||
"imports": []
|
||||
},
|
||||
"src/ageGenderNet/AgeGenderNet.ts": {
|
||||
"bytes": 4217,
|
||||
"bytes": 4223,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceLandmarkNet/FaceLandmark68NetBase.ts": {
|
||||
"bytes": 3677,
|
||||
"bytes": 3695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1228,7 +1228,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": {
|
||||
"bytes": 791,
|
||||
"bytes": 797,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1239,7 +1239,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsTiny.ts": {
|
||||
"bytes": 945,
|
||||
"bytes": 951,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1250,7 +1250,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
|
||||
"bytes": 1793,
|
||||
"bytes": 1805,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1320,7 +1320,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParams.ts": {
|
||||
"bytes": 4843,
|
||||
"bytes": 4855,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3109,
|
||||
"bytes": 3121,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/FaceRecognitionNet.ts": {
|
||||
"bytes": 2934,
|
||||
"bytes": 2946,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1404,7 +1404,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/factories/WithGender.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/types.ts"
|
||||
|
@ -1438,7 +1438,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParams.ts": {
|
||||
"bytes": 8244,
|
||||
"bytes": 8250,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 5846,
|
||||
"bytes": 5858,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/nonMaxSuppression.ts": {
|
||||
"bytes": 2186,
|
||||
"bytes": 2193,
|
||||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/outputLayer.ts": {
|
||||
|
@ -1491,7 +1491,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/boxPredictionLayer.ts": {
|
||||
"bytes": 606,
|
||||
"bytes": 612,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1520,7 +1520,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/SsdMobilenetv1.ts": {
|
||||
"bytes": 3772,
|
||||
"bytes": 3784,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/const.ts": {
|
||||
"bytes": 689,
|
||||
"bytes": 695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1617,7 +1617,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParams.ts": {
|
||||
"bytes": 3856,
|
||||
"bytes": 3862,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1634,7 +1634,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3259,
|
||||
"bytes": 3265,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/disposeUnusedWeightTensors.ts"
|
||||
|
@ -1652,7 +1652,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2Base.ts": {
|
||||
"bytes": 9587,
|
||||
"bytes": 9605,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2.ts": {
|
||||
"bytes": 1786,
|
||||
"bytes": 1792,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1719,7 +1719,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/types.ts": {
|
||||
"bytes": 948,
|
||||
"bytes": 954,
|
||||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/index.ts": {
|
||||
|
@ -1740,7 +1740,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetectorOptions.ts": {
|
||||
"bytes": 265,
|
||||
"bytes": 271,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/tinyYolov2/index.ts"
|
||||
|
@ -1752,7 +1752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/extractFacesAndComputeResults.ts": {
|
||||
"bytes": 1842,
|
||||
"bytes": 1848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1766,7 +1766,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/const.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 349,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1774,7 +1774,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetector.ts": {
|
||||
"bytes": 1439,
|
||||
"bytes": 1463,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1788,7 +1788,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/nets.ts": {
|
||||
"bytes": 6517,
|
||||
"bytes": 6529,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/AgeGenderNet.ts"
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictFaceExpressionsTask.ts": {
|
||||
"bytes": 3618,
|
||||
"bytes": 3635,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceExpressions.ts"
|
||||
|
@ -1840,7 +1840,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictAgeAndGenderTask.ts": {
|
||||
"bytes": 3798,
|
||||
"bytes": 3815,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithAge.ts"
|
||||
|
@ -1866,7 +1866,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/ComputeFaceDescriptorsTasks.ts": {
|
||||
"bytes": 3012,
|
||||
"bytes": 3029,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDescriptor.ts"
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFaceLandmarksTasks.ts": {
|
||||
"bytes": 3790,
|
||||
"bytes": 3807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1918,7 +1918,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFacesTasks.ts": {
|
||||
"bytes": 4061,
|
||||
"bytes": 4073,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDetection.ts"
|
||||
|
@ -1950,7 +1950,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/detectFaces.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/SsdMobilenetv1Options.ts"
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/allFaces.ts": {
|
||||
"bytes": 1259,
|
||||
"bytes": 1283,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/index.ts"
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/FaceMatcher.ts": {
|
||||
"bytes": 2967,
|
||||
"bytes": 2973,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceMatch.ts"
|
||||
|
@ -1993,7 +1993,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/types.ts": {
|
||||
"bytes": 500,
|
||||
"bytes": 512,
|
||||
"imports": []
|
||||
},
|
||||
"src/globalApi/index.ts": {
|
||||
|
@ -2043,7 +2043,7 @@
|
|||
]
|
||||
},
|
||||
"src/resizeResults.ts": {
|
||||
"bytes": 1502,
|
||||
"bytes": 1508,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -2063,11 +2063,11 @@
|
|||
]
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 1353,
|
||||
"bytes": 1363,
|
||||
"imports": []
|
||||
},
|
||||
"src/index.ts": {
|
||||
"bytes": 1341,
|
||||
"bytes": 988,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
"dist/face-api.esm.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 2071795
|
||||
"bytes": 2072207
|
||||
},
|
||||
"dist/face-api.esm.js": {
|
||||
"imports": [],
|
||||
|
@ -2268,7 +2268,7 @@
|
|||
"bytesInOutput": 224
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytesInOutput": 1572385
|
||||
"bytesInOutput": 1571394
|
||||
},
|
||||
"src/draw/index.ts": {
|
||||
"bytesInOutput": 451
|
||||
|
@ -2733,7 +2733,7 @@
|
|||
"bytesInOutput": 20
|
||||
}
|
||||
},
|
||||
"bytes": 1707141
|
||||
"bytes": 1706150
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"inputs": {
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytes": 1573542,
|
||||
"bytes": 1572551,
|
||||
"imports": []
|
||||
},
|
||||
"src/draw/drawContour.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": []
|
||||
},
|
||||
"src/classes/Dimensions.ts": {
|
||||
"bytes": 731,
|
||||
"bytes": 737,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
},
|
||||
"src/utils/index.ts": {
|
||||
"bytes": 1770,
|
||||
"bytes": 1776,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -35,7 +35,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/Box.ts": {
|
||||
"bytes": 5471,
|
||||
"bytes": 5477,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -77,7 +77,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ops/minBbox.ts": {
|
||||
"bytes": 473,
|
||||
"bytes": 479,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -144,7 +144,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks.ts": {
|
||||
"bytes": 4155,
|
||||
"bytes": 4167,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ops/index.ts"
|
||||
|
@ -170,7 +170,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks5.ts": {
|
||||
"bytes": 352,
|
||||
"bytes": 358,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -181,7 +181,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks68.ts": {
|
||||
"bytes": 899,
|
||||
"bytes": 905,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -192,7 +192,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceMatch.ts": {
|
||||
"bytes": 564,
|
||||
"bytes": 570,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -200,7 +200,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/LabeledBox.ts": {
|
||||
"bytes": 635,
|
||||
"bytes": 641,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -215,7 +215,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/PredictedBox.ts": {
|
||||
"bytes": 938,
|
||||
"bytes": 944,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -332,7 +332,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/resolveInput.ts": {
|
||||
"bytes": 191,
|
||||
"bytes": 197,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -340,7 +340,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getContext2dOrThrow.ts": {
|
||||
"bytes": 660,
|
||||
"bytes": 666,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -351,7 +351,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawTextField.ts": {
|
||||
"bytes": 3704,
|
||||
"bytes": 3710,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getContext2dOrThrow.ts"
|
||||
|
@ -362,7 +362,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawBox.ts": {
|
||||
"bytes": 1744,
|
||||
"bytes": 1750,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -376,7 +376,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawDetections.ts": {
|
||||
"bytes": 1006,
|
||||
"bytes": 1018,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -396,7 +396,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaLoaded.ts": {
|
||||
"bytes": 270,
|
||||
"bytes": 276,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -404,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/awaitMediaLoaded.ts": {
|
||||
"bytes": 842,
|
||||
"bytes": 848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -415,7 +415,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/bufferToImage.ts": {
|
||||
"bytes": 685,
|
||||
"bytes": 691,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -423,7 +423,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getMediaDimensions.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/Dimensions.ts"
|
||||
|
@ -434,7 +434,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/createCanvas.ts": {
|
||||
"bytes": 1122,
|
||||
"bytes": 1128,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -451,7 +451,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageTensorToCanvas.ts": {
|
||||
"bytes": 599,
|
||||
"bytes": 611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -465,7 +465,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaElement.ts": {
|
||||
"bytes": 220,
|
||||
"bytes": 226,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -473,7 +473,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageToSquare.ts": {
|
||||
"bytes": 1156,
|
||||
"bytes": 1162,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -490,7 +490,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/NetInput.ts": {
|
||||
"bytes": 5453,
|
||||
"bytes": 5465,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -513,7 +513,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/toNetInput.ts": {
|
||||
"bytes": 2094,
|
||||
"bytes": 2100,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -533,7 +533,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaces.ts": {
|
||||
"bytes": 1749,
|
||||
"bytes": 1755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceDetection.ts"
|
||||
|
@ -556,7 +556,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaceTensors.ts": {
|
||||
"bytes": 1706,
|
||||
"bytes": 1718,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -570,7 +570,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/fetchOrThrow.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -623,7 +623,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/matchDimensions.ts": {
|
||||
"bytes": 390,
|
||||
"bytes": 396,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getMediaDimensions.ts"
|
||||
|
@ -703,7 +703,7 @@
|
|||
]
|
||||
},
|
||||
"src/NeuralNetwork.ts": {
|
||||
"bytes": 5095,
|
||||
"bytes": 5113,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -728,7 +728,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/denseBlock.ts": {
|
||||
"bytes": 2015,
|
||||
"bytes": 2021,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -782,7 +782,7 @@
|
|||
]
|
||||
},
|
||||
"src/common/extractWeightEntryFactory.ts": {
|
||||
"bytes": 581,
|
||||
"bytes": 587,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -829,7 +829,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractorsFactory.ts": {
|
||||
"bytes": 1562,
|
||||
"bytes": 1568,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -837,7 +837,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParams.ts": {
|
||||
"bytes": 1002,
|
||||
"bytes": 1008,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceFeatureExtractor/loadParamsFactory.ts": {
|
||||
"bytes": 1516,
|
||||
"bytes": 1522,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -863,7 +863,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 827,
|
||||
"bytes": 833,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -874,7 +874,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
|
||||
"bytes": 1782,
|
||||
"bytes": 1794,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -908,7 +908,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParams.ts": {
|
||||
"bytes": 745,
|
||||
"bytes": 751,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -916,7 +916,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 833,
|
||||
"bytes": 839,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -928,7 +928,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceProcessor/FaceProcessor.ts": {
|
||||
"bytes": 3009,
|
||||
"bytes": 3015,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -958,7 +958,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceExpressionNet/FaceExpressionNet.ts": {
|
||||
"bytes": 1642,
|
||||
"bytes": 1648,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -997,7 +997,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawFaceExpressions.ts": {
|
||||
"bytes": 1501,
|
||||
"bytes": 1519,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawFaceLandmarks.ts": {
|
||||
"bytes": 3365,
|
||||
"bytes": 3371,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceLandmarks.ts"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParams.ts": {
|
||||
"bytes": 3400,
|
||||
"bytes": 3412,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3093,
|
||||
"bytes": 3105,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/TinyXception.ts": {
|
||||
"bytes": 3099,
|
||||
"bytes": 3123,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParams.ts": {
|
||||
"bytes": 763,
|
||||
"bytes": 769,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 900,
|
||||
"bytes": 906,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1147,11 +1147,11 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/types.ts": {
|
||||
"bytes": 393,
|
||||
"bytes": 399,
|
||||
"imports": []
|
||||
},
|
||||
"src/ageGenderNet/AgeGenderNet.ts": {
|
||||
"bytes": 4217,
|
||||
"bytes": 4223,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceLandmarkNet/FaceLandmark68NetBase.ts": {
|
||||
"bytes": 3677,
|
||||
"bytes": 3695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1228,7 +1228,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": {
|
||||
"bytes": 791,
|
||||
"bytes": 797,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1239,7 +1239,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsTiny.ts": {
|
||||
"bytes": 945,
|
||||
"bytes": 951,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1250,7 +1250,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
|
||||
"bytes": 1793,
|
||||
"bytes": 1805,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1320,7 +1320,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParams.ts": {
|
||||
"bytes": 4843,
|
||||
"bytes": 4855,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3109,
|
||||
"bytes": 3121,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/FaceRecognitionNet.ts": {
|
||||
"bytes": 2934,
|
||||
"bytes": 2946,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1404,7 +1404,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/factories/WithGender.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/types.ts"
|
||||
|
@ -1438,7 +1438,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParams.ts": {
|
||||
"bytes": 8244,
|
||||
"bytes": 8250,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 5846,
|
||||
"bytes": 5858,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/nonMaxSuppression.ts": {
|
||||
"bytes": 2186,
|
||||
"bytes": 2193,
|
||||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/outputLayer.ts": {
|
||||
|
@ -1491,7 +1491,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/boxPredictionLayer.ts": {
|
||||
"bytes": 606,
|
||||
"bytes": 612,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1520,7 +1520,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/SsdMobilenetv1.ts": {
|
||||
"bytes": 3772,
|
||||
"bytes": 3784,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/const.ts": {
|
||||
"bytes": 689,
|
||||
"bytes": 695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1617,7 +1617,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParams.ts": {
|
||||
"bytes": 3856,
|
||||
"bytes": 3862,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1634,7 +1634,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3259,
|
||||
"bytes": 3265,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/disposeUnusedWeightTensors.ts"
|
||||
|
@ -1652,7 +1652,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2Base.ts": {
|
||||
"bytes": 9587,
|
||||
"bytes": 9605,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2.ts": {
|
||||
"bytes": 1786,
|
||||
"bytes": 1792,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1719,7 +1719,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/types.ts": {
|
||||
"bytes": 948,
|
||||
"bytes": 954,
|
||||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/index.ts": {
|
||||
|
@ -1740,7 +1740,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetectorOptions.ts": {
|
||||
"bytes": 265,
|
||||
"bytes": 271,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/tinyYolov2/index.ts"
|
||||
|
@ -1752,7 +1752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/extractFacesAndComputeResults.ts": {
|
||||
"bytes": 1842,
|
||||
"bytes": 1848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1766,7 +1766,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/const.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 349,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1774,7 +1774,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetector.ts": {
|
||||
"bytes": 1439,
|
||||
"bytes": 1463,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1788,7 +1788,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/nets.ts": {
|
||||
"bytes": 6517,
|
||||
"bytes": 6529,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/AgeGenderNet.ts"
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictFaceExpressionsTask.ts": {
|
||||
"bytes": 3618,
|
||||
"bytes": 3635,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceExpressions.ts"
|
||||
|
@ -1840,7 +1840,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictAgeAndGenderTask.ts": {
|
||||
"bytes": 3798,
|
||||
"bytes": 3815,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithAge.ts"
|
||||
|
@ -1866,7 +1866,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/ComputeFaceDescriptorsTasks.ts": {
|
||||
"bytes": 3012,
|
||||
"bytes": 3029,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDescriptor.ts"
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFaceLandmarksTasks.ts": {
|
||||
"bytes": 3790,
|
||||
"bytes": 3807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1918,7 +1918,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFacesTasks.ts": {
|
||||
"bytes": 4061,
|
||||
"bytes": 4073,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDetection.ts"
|
||||
|
@ -1950,7 +1950,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/detectFaces.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/SsdMobilenetv1Options.ts"
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/allFaces.ts": {
|
||||
"bytes": 1259,
|
||||
"bytes": 1283,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/index.ts"
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/FaceMatcher.ts": {
|
||||
"bytes": 2967,
|
||||
"bytes": 2973,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceMatch.ts"
|
||||
|
@ -1993,7 +1993,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/types.ts": {
|
||||
"bytes": 500,
|
||||
"bytes": 512,
|
||||
"imports": []
|
||||
},
|
||||
"src/globalApi/index.ts": {
|
||||
|
@ -2043,7 +2043,7 @@
|
|||
]
|
||||
},
|
||||
"src/resizeResults.ts": {
|
||||
"bytes": 1502,
|
||||
"bytes": 1508,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -2063,11 +2063,11 @@
|
|||
]
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 1353,
|
||||
"bytes": 1363,
|
||||
"imports": []
|
||||
},
|
||||
"src/index.ts": {
|
||||
"bytes": 1341,
|
||||
"bytes": 988,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
"dist/face-api.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 2073199
|
||||
"bytes": 2073250
|
||||
},
|
||||
"dist/face-api.js": {
|
||||
"imports": [],
|
||||
|
@ -2149,7 +2149,7 @@
|
|||
"bytesInOutput": 4754
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"bytesInOutput": 1572389
|
||||
"bytesInOutput": 1571398
|
||||
},
|
||||
"src/draw/index.ts": {
|
||||
"bytesInOutput": 451
|
||||
|
@ -2611,7 +2611,7 @@
|
|||
"bytesInOutput": 20
|
||||
}
|
||||
},
|
||||
"bytes": 1709616
|
||||
"bytes": 1708625
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,11 +5,11 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/draw/drawContour.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": []
|
||||
},
|
||||
"src/classes/Dimensions.ts": {
|
||||
"bytes": 731,
|
||||
"bytes": 737,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
},
|
||||
"src/utils/index.ts": {
|
||||
"bytes": 1770,
|
||||
"bytes": 1776,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -35,7 +35,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/Box.ts": {
|
||||
"bytes": 5471,
|
||||
"bytes": 5477,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -77,7 +77,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ops/minBbox.ts": {
|
||||
"bytes": 473,
|
||||
"bytes": 479,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -144,7 +144,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks.ts": {
|
||||
"bytes": 4155,
|
||||
"bytes": 4167,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ops/index.ts"
|
||||
|
@ -170,7 +170,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks5.ts": {
|
||||
"bytes": 352,
|
||||
"bytes": 358,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -181,7 +181,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks68.ts": {
|
||||
"bytes": 899,
|
||||
"bytes": 905,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -192,7 +192,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceMatch.ts": {
|
||||
"bytes": 564,
|
||||
"bytes": 570,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -200,7 +200,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/LabeledBox.ts": {
|
||||
"bytes": 635,
|
||||
"bytes": 641,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -215,7 +215,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/PredictedBox.ts": {
|
||||
"bytes": 938,
|
||||
"bytes": 944,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -332,7 +332,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/resolveInput.ts": {
|
||||
"bytes": 191,
|
||||
"bytes": 197,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -340,7 +340,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getContext2dOrThrow.ts": {
|
||||
"bytes": 660,
|
||||
"bytes": 666,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -351,7 +351,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawTextField.ts": {
|
||||
"bytes": 3704,
|
||||
"bytes": 3710,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getContext2dOrThrow.ts"
|
||||
|
@ -362,7 +362,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawBox.ts": {
|
||||
"bytes": 1744,
|
||||
"bytes": 1750,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -376,7 +376,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawDetections.ts": {
|
||||
"bytes": 1006,
|
||||
"bytes": 1018,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -396,7 +396,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaLoaded.ts": {
|
||||
"bytes": 270,
|
||||
"bytes": 276,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -404,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/awaitMediaLoaded.ts": {
|
||||
"bytes": 842,
|
||||
"bytes": 848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -415,7 +415,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/bufferToImage.ts": {
|
||||
"bytes": 685,
|
||||
"bytes": 691,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -423,7 +423,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getMediaDimensions.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/Dimensions.ts"
|
||||
|
@ -434,7 +434,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/createCanvas.ts": {
|
||||
"bytes": 1122,
|
||||
"bytes": 1128,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -451,7 +451,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageTensorToCanvas.ts": {
|
||||
"bytes": 599,
|
||||
"bytes": 611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -465,7 +465,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaElement.ts": {
|
||||
"bytes": 220,
|
||||
"bytes": 226,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -473,7 +473,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageToSquare.ts": {
|
||||
"bytes": 1156,
|
||||
"bytes": 1162,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -490,7 +490,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/NetInput.ts": {
|
||||
"bytes": 5453,
|
||||
"bytes": 5465,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -513,7 +513,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/toNetInput.ts": {
|
||||
"bytes": 2094,
|
||||
"bytes": 2100,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -533,7 +533,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaces.ts": {
|
||||
"bytes": 1749,
|
||||
"bytes": 1755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceDetection.ts"
|
||||
|
@ -556,7 +556,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaceTensors.ts": {
|
||||
"bytes": 1706,
|
||||
"bytes": 1718,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -570,7 +570,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/fetchOrThrow.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -623,7 +623,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/matchDimensions.ts": {
|
||||
"bytes": 390,
|
||||
"bytes": 396,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getMediaDimensions.ts"
|
||||
|
@ -703,7 +703,7 @@
|
|||
]
|
||||
},
|
||||
"src/NeuralNetwork.ts": {
|
||||
"bytes": 5095,
|
||||
"bytes": 5113,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -728,7 +728,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/denseBlock.ts": {
|
||||
"bytes": 2015,
|
||||
"bytes": 2021,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -782,7 +782,7 @@
|
|||
]
|
||||
},
|
||||
"src/common/extractWeightEntryFactory.ts": {
|
||||
"bytes": 581,
|
||||
"bytes": 587,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -829,7 +829,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractorsFactory.ts": {
|
||||
"bytes": 1562,
|
||||
"bytes": 1568,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -837,7 +837,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParams.ts": {
|
||||
"bytes": 1002,
|
||||
"bytes": 1008,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceFeatureExtractor/loadParamsFactory.ts": {
|
||||
"bytes": 1516,
|
||||
"bytes": 1522,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -863,7 +863,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 827,
|
||||
"bytes": 833,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -874,7 +874,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
|
||||
"bytes": 1782,
|
||||
"bytes": 1794,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -908,7 +908,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParams.ts": {
|
||||
"bytes": 745,
|
||||
"bytes": 751,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -916,7 +916,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 833,
|
||||
"bytes": 839,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -928,7 +928,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceProcessor/FaceProcessor.ts": {
|
||||
"bytes": 3009,
|
||||
"bytes": 3015,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -958,7 +958,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceExpressionNet/FaceExpressionNet.ts": {
|
||||
"bytes": 1642,
|
||||
"bytes": 1648,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -997,7 +997,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawFaceExpressions.ts": {
|
||||
"bytes": 1501,
|
||||
"bytes": 1519,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawFaceLandmarks.ts": {
|
||||
"bytes": 3365,
|
||||
"bytes": 3371,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceLandmarks.ts"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParams.ts": {
|
||||
"bytes": 3400,
|
||||
"bytes": 3412,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3093,
|
||||
"bytes": 3105,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/TinyXception.ts": {
|
||||
"bytes": 3099,
|
||||
"bytes": 3123,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParams.ts": {
|
||||
"bytes": 763,
|
||||
"bytes": 769,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 900,
|
||||
"bytes": 906,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1147,11 +1147,11 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/types.ts": {
|
||||
"bytes": 393,
|
||||
"bytes": 399,
|
||||
"imports": []
|
||||
},
|
||||
"src/ageGenderNet/AgeGenderNet.ts": {
|
||||
"bytes": 4217,
|
||||
"bytes": 4223,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceLandmarkNet/FaceLandmark68NetBase.ts": {
|
||||
"bytes": 3677,
|
||||
"bytes": 3695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1228,7 +1228,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": {
|
||||
"bytes": 791,
|
||||
"bytes": 797,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1239,7 +1239,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsTiny.ts": {
|
||||
"bytes": 945,
|
||||
"bytes": 951,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1250,7 +1250,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
|
||||
"bytes": 1793,
|
||||
"bytes": 1805,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1320,7 +1320,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParams.ts": {
|
||||
"bytes": 4843,
|
||||
"bytes": 4855,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3109,
|
||||
"bytes": 3121,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/FaceRecognitionNet.ts": {
|
||||
"bytes": 2934,
|
||||
"bytes": 2946,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1404,7 +1404,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/factories/WithGender.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/types.ts"
|
||||
|
@ -1438,7 +1438,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParams.ts": {
|
||||
"bytes": 8244,
|
||||
"bytes": 8250,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 5846,
|
||||
"bytes": 5858,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/nonMaxSuppression.ts": {
|
||||
"bytes": 2186,
|
||||
"bytes": 2193,
|
||||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/outputLayer.ts": {
|
||||
|
@ -1491,7 +1491,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/boxPredictionLayer.ts": {
|
||||
"bytes": 606,
|
||||
"bytes": 612,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1520,7 +1520,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/SsdMobilenetv1.ts": {
|
||||
"bytes": 3772,
|
||||
"bytes": 3784,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/const.ts": {
|
||||
"bytes": 689,
|
||||
"bytes": 695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1617,7 +1617,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParams.ts": {
|
||||
"bytes": 3856,
|
||||
"bytes": 3862,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1634,7 +1634,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3259,
|
||||
"bytes": 3265,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/disposeUnusedWeightTensors.ts"
|
||||
|
@ -1652,7 +1652,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2Base.ts": {
|
||||
"bytes": 9587,
|
||||
"bytes": 9605,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2.ts": {
|
||||
"bytes": 1786,
|
||||
"bytes": 1792,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1719,7 +1719,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/types.ts": {
|
||||
"bytes": 948,
|
||||
"bytes": 954,
|
||||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/index.ts": {
|
||||
|
@ -1740,7 +1740,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetectorOptions.ts": {
|
||||
"bytes": 265,
|
||||
"bytes": 271,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/tinyYolov2/index.ts"
|
||||
|
@ -1752,7 +1752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/extractFacesAndComputeResults.ts": {
|
||||
"bytes": 1842,
|
||||
"bytes": 1848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1766,7 +1766,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/const.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 349,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1774,7 +1774,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetector.ts": {
|
||||
"bytes": 1439,
|
||||
"bytes": 1463,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1788,7 +1788,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/nets.ts": {
|
||||
"bytes": 6517,
|
||||
"bytes": 6529,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/AgeGenderNet.ts"
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictFaceExpressionsTask.ts": {
|
||||
"bytes": 3618,
|
||||
"bytes": 3635,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceExpressions.ts"
|
||||
|
@ -1840,7 +1840,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictAgeAndGenderTask.ts": {
|
||||
"bytes": 3798,
|
||||
"bytes": 3815,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithAge.ts"
|
||||
|
@ -1866,7 +1866,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/ComputeFaceDescriptorsTasks.ts": {
|
||||
"bytes": 3012,
|
||||
"bytes": 3029,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDescriptor.ts"
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFaceLandmarksTasks.ts": {
|
||||
"bytes": 3790,
|
||||
"bytes": 3807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1918,7 +1918,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFacesTasks.ts": {
|
||||
"bytes": 4061,
|
||||
"bytes": 4073,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDetection.ts"
|
||||
|
@ -1950,7 +1950,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/detectFaces.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/SsdMobilenetv1Options.ts"
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/allFaces.ts": {
|
||||
"bytes": 1259,
|
||||
"bytes": 1283,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/index.ts"
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/FaceMatcher.ts": {
|
||||
"bytes": 2967,
|
||||
"bytes": 2973,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceMatch.ts"
|
||||
|
@ -1993,7 +1993,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/types.ts": {
|
||||
"bytes": 500,
|
||||
"bytes": 512,
|
||||
"imports": []
|
||||
},
|
||||
"src/globalApi/index.ts": {
|
||||
|
@ -2043,7 +2043,7 @@
|
|||
]
|
||||
},
|
||||
"src/resizeResults.ts": {
|
||||
"bytes": 1502,
|
||||
"bytes": 1508,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -2063,11 +2063,11 @@
|
|||
]
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 1353,
|
||||
"bytes": 1363,
|
||||
"imports": []
|
||||
},
|
||||
"src/index.ts": {
|
||||
"bytes": 1341,
|
||||
"bytes": 988,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
"dist/face-api.node-gpu.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 392125
|
||||
"bytes": 392036
|
||||
},
|
||||
"dist/face-api.node-gpu.js": {
|
||||
"imports": [],
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,11 +5,11 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/draw/drawContour.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": []
|
||||
},
|
||||
"src/classes/Dimensions.ts": {
|
||||
"bytes": 731,
|
||||
"bytes": 737,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -17,7 +17,7 @@
|
|||
]
|
||||
},
|
||||
"src/utils/index.ts": {
|
||||
"bytes": 1770,
|
||||
"bytes": 1776,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -35,7 +35,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/Box.ts": {
|
||||
"bytes": 5471,
|
||||
"bytes": 5477,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -77,7 +77,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ops/minBbox.ts": {
|
||||
"bytes": 473,
|
||||
"bytes": 479,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -144,7 +144,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks.ts": {
|
||||
"bytes": 4155,
|
||||
"bytes": 4167,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ops/index.ts"
|
||||
|
@ -170,7 +170,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks5.ts": {
|
||||
"bytes": 352,
|
||||
"bytes": 358,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -181,7 +181,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceLandmarks68.ts": {
|
||||
"bytes": 899,
|
||||
"bytes": 905,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -192,7 +192,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/FaceMatch.ts": {
|
||||
"bytes": 564,
|
||||
"bytes": 570,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -200,7 +200,7 @@
|
|||
]
|
||||
},
|
||||
"src/classes/LabeledBox.ts": {
|
||||
"bytes": 635,
|
||||
"bytes": 641,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -215,7 +215,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/classes/PredictedBox.ts": {
|
||||
"bytes": 938,
|
||||
"bytes": 944,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -332,7 +332,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/resolveInput.ts": {
|
||||
"bytes": 191,
|
||||
"bytes": 197,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -340,7 +340,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getContext2dOrThrow.ts": {
|
||||
"bytes": 660,
|
||||
"bytes": 666,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -351,7 +351,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawTextField.ts": {
|
||||
"bytes": 3704,
|
||||
"bytes": 3710,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getContext2dOrThrow.ts"
|
||||
|
@ -362,7 +362,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawBox.ts": {
|
||||
"bytes": 1744,
|
||||
"bytes": 1750,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -376,7 +376,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawDetections.ts": {
|
||||
"bytes": 1006,
|
||||
"bytes": 1018,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -396,7 +396,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaLoaded.ts": {
|
||||
"bytes": 270,
|
||||
"bytes": 276,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -404,7 +404,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/awaitMediaLoaded.ts": {
|
||||
"bytes": 842,
|
||||
"bytes": 848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -415,7 +415,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/bufferToImage.ts": {
|
||||
"bytes": 685,
|
||||
"bytes": 691,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -423,7 +423,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/getMediaDimensions.ts": {
|
||||
"bytes": 520,
|
||||
"bytes": 526,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/Dimensions.ts"
|
||||
|
@ -434,7 +434,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/createCanvas.ts": {
|
||||
"bytes": 1122,
|
||||
"bytes": 1128,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -451,7 +451,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageTensorToCanvas.ts": {
|
||||
"bytes": 599,
|
||||
"bytes": 611,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -465,7 +465,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/isMediaElement.ts": {
|
||||
"bytes": 220,
|
||||
"bytes": 226,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -473,7 +473,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/imageToSquare.ts": {
|
||||
"bytes": 1156,
|
||||
"bytes": 1162,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -490,7 +490,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/NetInput.ts": {
|
||||
"bytes": 5453,
|
||||
"bytes": 5465,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -513,7 +513,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/toNetInput.ts": {
|
||||
"bytes": 2094,
|
||||
"bytes": 2100,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -533,7 +533,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaces.ts": {
|
||||
"bytes": 1749,
|
||||
"bytes": 1755,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceDetection.ts"
|
||||
|
@ -556,7 +556,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/extractFaceTensors.ts": {
|
||||
"bytes": 1706,
|
||||
"bytes": 1718,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -570,7 +570,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/fetchOrThrow.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 348,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/env/index.ts"
|
||||
|
@ -623,7 +623,7 @@
|
|||
]
|
||||
},
|
||||
"src/dom/matchDimensions.ts": {
|
||||
"bytes": 390,
|
||||
"bytes": 396,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/dom/getMediaDimensions.ts"
|
||||
|
@ -703,7 +703,7 @@
|
|||
]
|
||||
},
|
||||
"src/NeuralNetwork.ts": {
|
||||
"bytes": 5095,
|
||||
"bytes": 5113,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -728,7 +728,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/denseBlock.ts": {
|
||||
"bytes": 2015,
|
||||
"bytes": 2021,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -782,7 +782,7 @@
|
|||
]
|
||||
},
|
||||
"src/common/extractWeightEntryFactory.ts": {
|
||||
"bytes": 581,
|
||||
"bytes": 587,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/utils/index.ts"
|
||||
|
@ -829,7 +829,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractorsFactory.ts": {
|
||||
"bytes": 1562,
|
||||
"bytes": 1568,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -837,7 +837,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParams.ts": {
|
||||
"bytes": 1002,
|
||||
"bytes": 1008,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -852,7 +852,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceFeatureExtractor/loadParamsFactory.ts": {
|
||||
"bytes": 1516,
|
||||
"bytes": 1522,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -863,7 +863,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 827,
|
||||
"bytes": 833,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -874,7 +874,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/FaceFeatureExtractor.ts": {
|
||||
"bytes": 1782,
|
||||
"bytes": 1794,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -908,7 +908,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParams.ts": {
|
||||
"bytes": 745,
|
||||
"bytes": 751,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -916,7 +916,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceProcessor/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 833,
|
||||
"bytes": 839,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -928,7 +928,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceProcessor/FaceProcessor.ts": {
|
||||
"bytes": 3009,
|
||||
"bytes": 3015,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -958,7 +958,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/faceExpressionNet/FaceExpressionNet.ts": {
|
||||
"bytes": 1642,
|
||||
"bytes": 1648,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -997,7 +997,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/drawFaceExpressions.ts": {
|
||||
"bytes": 1501,
|
||||
"bytes": 1519,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1034,7 +1034,7 @@
|
|||
]
|
||||
},
|
||||
"src/draw/DrawFaceLandmarks.ts": {
|
||||
"bytes": 3365,
|
||||
"bytes": 3371,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceLandmarks.ts"
|
||||
|
@ -1077,7 +1077,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParams.ts": {
|
||||
"bytes": 3400,
|
||||
"bytes": 3412,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1088,7 +1088,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3093,
|
||||
"bytes": 3105,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1102,7 +1102,7 @@
|
|||
]
|
||||
},
|
||||
"src/xception/TinyXception.ts": {
|
||||
"bytes": 3099,
|
||||
"bytes": 3123,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1131,7 +1131,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParams.ts": {
|
||||
"bytes": 763,
|
||||
"bytes": 769,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1139,7 +1139,7 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 900,
|
||||
"bytes": 906,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1147,11 +1147,11 @@
|
|||
]
|
||||
},
|
||||
"src/ageGenderNet/types.ts": {
|
||||
"bytes": 393,
|
||||
"bytes": 399,
|
||||
"imports": []
|
||||
},
|
||||
"src/ageGenderNet/AgeGenderNet.ts": {
|
||||
"bytes": 4217,
|
||||
"bytes": 4223,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1194,7 +1194,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceLandmarkNet/FaceLandmark68NetBase.ts": {
|
||||
"bytes": 3677,
|
||||
"bytes": 3695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1228,7 +1228,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsFromWeigthMapTiny.ts": {
|
||||
"bytes": 791,
|
||||
"bytes": 797,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1239,7 +1239,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/extractParamsTiny.ts": {
|
||||
"bytes": 945,
|
||||
"bytes": 951,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1250,7 +1250,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceFeatureExtractor/TinyFaceFeatureExtractor.ts": {
|
||||
"bytes": 1793,
|
||||
"bytes": 1805,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1320,7 +1320,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParams.ts": {
|
||||
"bytes": 4843,
|
||||
"bytes": 4855,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1334,7 +1334,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3109,
|
||||
"bytes": 3121,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
]
|
||||
},
|
||||
"src/faceRecognitionNet/FaceRecognitionNet.ts": {
|
||||
"bytes": 2934,
|
||||
"bytes": 2946,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1404,7 +1404,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/factories/WithGender.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/types.ts"
|
||||
|
@ -1438,7 +1438,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParams.ts": {
|
||||
"bytes": 8244,
|
||||
"bytes": 8250,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 5846,
|
||||
"bytes": 5858,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/index.ts"
|
||||
|
@ -1479,7 +1479,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/nonMaxSuppression.ts": {
|
||||
"bytes": 2186,
|
||||
"bytes": 2193,
|
||||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/outputLayer.ts": {
|
||||
|
@ -1491,7 +1491,7 @@
|
|||
]
|
||||
},
|
||||
"src/ssdMobilenetv1/boxPredictionLayer.ts": {
|
||||
"bytes": 606,
|
||||
"bytes": 612,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1520,7 +1520,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/ssdMobilenetv1/SsdMobilenetv1.ts": {
|
||||
"bytes": 3772,
|
||||
"bytes": 3784,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/const.ts": {
|
||||
"bytes": 689,
|
||||
"bytes": 695,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1617,7 +1617,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParams.ts": {
|
||||
"bytes": 3856,
|
||||
"bytes": 3862,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1634,7 +1634,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/extractParamsFromWeigthMap.ts": {
|
||||
"bytes": 3259,
|
||||
"bytes": 3265,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/common/disposeUnusedWeightTensors.ts"
|
||||
|
@ -1652,7 +1652,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2Base.ts": {
|
||||
"bytes": 9587,
|
||||
"bytes": 9605,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1705,7 +1705,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/TinyYolov2.ts": {
|
||||
"bytes": 1786,
|
||||
"bytes": 1792,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1719,7 +1719,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyYolov2/types.ts": {
|
||||
"bytes": 948,
|
||||
"bytes": 954,
|
||||
"imports": []
|
||||
},
|
||||
"src/tinyYolov2/index.ts": {
|
||||
|
@ -1740,7 +1740,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetectorOptions.ts": {
|
||||
"bytes": 265,
|
||||
"bytes": 271,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/tinyYolov2/index.ts"
|
||||
|
@ -1752,7 +1752,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/extractFacesAndComputeResults.ts": {
|
||||
"bytes": 1842,
|
||||
"bytes": 1848,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1766,7 +1766,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/const.ts": {
|
||||
"bytes": 342,
|
||||
"bytes": 349,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1774,7 +1774,7 @@
|
|||
]
|
||||
},
|
||||
"src/tinyFaceDetector/TinyFaceDetector.ts": {
|
||||
"bytes": 1439,
|
||||
"bytes": 1463,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -1788,7 +1788,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/nets.ts": {
|
||||
"bytes": 6517,
|
||||
"bytes": 6529,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ageGenderNet/AgeGenderNet.ts"
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictFaceExpressionsTask.ts": {
|
||||
"bytes": 3618,
|
||||
"bytes": 3635,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceExpressions.ts"
|
||||
|
@ -1840,7 +1840,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/PredictAgeAndGenderTask.ts": {
|
||||
"bytes": 3798,
|
||||
"bytes": 3815,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithAge.ts"
|
||||
|
@ -1866,7 +1866,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/ComputeFaceDescriptorsTasks.ts": {
|
||||
"bytes": 3012,
|
||||
"bytes": 3029,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDescriptor.ts"
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFaceLandmarksTasks.ts": {
|
||||
"bytes": 3790,
|
||||
"bytes": 3807,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -1918,7 +1918,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/DetectFacesTasks.ts": {
|
||||
"bytes": 4061,
|
||||
"bytes": 4073,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/factories/WithFaceDetection.ts"
|
||||
|
@ -1950,7 +1950,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/detectFaces.ts": {
|
||||
"bytes": 627,
|
||||
"bytes": 633,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/SsdMobilenetv1Options.ts"
|
||||
|
@ -1961,7 +1961,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/allFaces.ts": {
|
||||
"bytes": 1259,
|
||||
"bytes": 1283,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/ssdMobilenetv1/index.ts"
|
||||
|
@ -1979,7 +1979,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"src/globalApi/FaceMatcher.ts": {
|
||||
"bytes": 2967,
|
||||
"bytes": 2973,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/FaceMatch.ts"
|
||||
|
@ -1993,7 +1993,7 @@
|
|||
]
|
||||
},
|
||||
"src/globalApi/types.ts": {
|
||||
"bytes": 500,
|
||||
"bytes": 512,
|
||||
"imports": []
|
||||
},
|
||||
"src/globalApi/index.ts": {
|
||||
|
@ -2043,7 +2043,7 @@
|
|||
]
|
||||
},
|
||||
"src/resizeResults.ts": {
|
||||
"bytes": 1502,
|
||||
"bytes": 1508,
|
||||
"imports": [
|
||||
{
|
||||
"path": "src/classes/index.ts"
|
||||
|
@ -2063,11 +2063,11 @@
|
|||
]
|
||||
},
|
||||
"package.json": {
|
||||
"bytes": 1353,
|
||||
"bytes": 1363,
|
||||
"imports": []
|
||||
},
|
||||
"src/index.ts": {
|
||||
"bytes": 1341,
|
||||
"bytes": 988,
|
||||
"imports": [
|
||||
{
|
||||
"path": "dist/tfjs.esm.js"
|
||||
|
@ -2136,7 +2136,7 @@
|
|||
"dist/face-api.node.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 392117
|
||||
"bytes": 392028
|
||||
},
|
||||
"dist/face-api.node.js": {
|
||||
"imports": [],
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/kernel_names.js": {
|
||||
"bytes": 5910,
|
||||
"bytes": 5914,
|
||||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/kernel_registry.js": {
|
||||
|
@ -109,7 +109,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/engine.js": {
|
||||
"bytes": 41248,
|
||||
"bytes": 41114,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/backends/backend.js"
|
||||
|
@ -374,7 +374,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/clone.js": {
|
||||
"bytes": 1564,
|
||||
"bytes": 1448,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -1351,28 +1351,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tile.js": {
|
||||
"bytes": 2129,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/kernel_names.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/operation.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/broadcast_to.js": {
|
||||
"bytes": 3015,
|
||||
"bytes": 2955,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -1391,9 +1371,6 @@
|
|||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/reshape.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tile.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1985,6 +1962,26 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tile.js": {
|
||||
"bytes": 2129,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/kernel_names.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/operation.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/eye.js": {
|
||||
"bytes": 2756,
|
||||
"imports": [
|
||||
|
@ -2430,13 +2427,10 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/log_softmax.js": {
|
||||
"bytes": 2464,
|
||||
"bytes": 3330,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/kernel_names.js"
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/gradients.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
|
@ -2453,6 +2447,9 @@
|
|||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/max.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/mul.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/operation.js"
|
||||
},
|
||||
|
@ -2688,19 +2685,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/scalar.js": {
|
||||
"bytes": 1849,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tensor_ops_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/mean.js": {
|
||||
"bytes": 2908,
|
||||
"bytes": 2061,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -2711,26 +2697,8 @@
|
|||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/axis_util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/cast.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/div.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/operation.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/scalar.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/sum.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -3296,37 +3264,14 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor1d.js": {
|
||||
"bytes": 1677,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tensor_ops_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/range.js": {
|
||||
"bytes": 2648,
|
||||
"bytes": 1645,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/kernel_names.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tensor1d.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/zeros.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -3517,6 +3462,17 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/scalar.js": {
|
||||
"bytes": 1849,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tensor_ops_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/selu.js": {
|
||||
"bytes": 1380,
|
||||
"imports": [
|
||||
|
@ -3838,7 +3794,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/sqrt.js": {
|
||||
"bytes": 1482,
|
||||
"bytes": 1355,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -3965,6 +3921,20 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor1d.js": {
|
||||
"bytes": 1677,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/tensor_util_env.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/util.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/ops/tensor_ops_util.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor2d.js": {
|
||||
"bytes": 2273,
|
||||
"imports": [
|
||||
|
@ -4765,7 +4735,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/image/crop_and_resize.js": {
|
||||
"bytes": 3804,
|
||||
"bytes": 3821,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/engine.js"
|
||||
|
@ -14194,7 +14164,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/CropAndResize.js": {
|
||||
"bytes": 6605,
|
||||
"bytes": 6502,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -20164,6 +20134,28 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernel_utils/shared.js": {
|
||||
"bytes": 1137,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Range.js": {
|
||||
"bytes": 1274,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernel_utils/shared.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RealDiv.js": {
|
||||
"bytes": 970,
|
||||
"imports": [
|
||||
|
@ -20282,14 +20274,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernel_utils/shared.js": {
|
||||
"bytes": 987,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-cpu/dist/shared.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Slice.js": {
|
||||
"bytes": 4226,
|
||||
"imports": [
|
||||
|
@ -20445,7 +20429,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/register_all_kernels.js": {
|
||||
"bytes": 7183,
|
||||
"bytes": 7247,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-core/dist/index.js"
|
||||
|
@ -20618,6 +20602,9 @@
|
|||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Prod.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Range.js"
|
||||
},
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RealDiv.js"
|
||||
},
|
||||
|
@ -20722,7 +20709,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
|
||||
"bytes": 73909,
|
||||
"bytes": 73950,
|
||||
"imports": [
|
||||
{
|
||||
"path": "empty:path"
|
||||
|
@ -20746,7 +20733,7 @@
|
|||
"imports": []
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
|
||||
"bytes": 28274,
|
||||
"bytes": 28294,
|
||||
"imports": [
|
||||
{
|
||||
"path": "empty:path"
|
||||
|
@ -20757,7 +20744,7 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/backend_wasm.js": {
|
||||
"bytes": 13864,
|
||||
"bytes": 13836,
|
||||
"imports": [
|
||||
{
|
||||
"path": "node_modules/@tensorflow/tfjs-backend-wasm/dist/flags_wasm.js"
|
||||
|
@ -20827,7 +20814,7 @@
|
|||
"dist/tfjs.esm.js.map": {
|
||||
"imports": [],
|
||||
"inputs": {},
|
||||
"bytes": 1070988
|
||||
"bytes": 1070617
|
||||
},
|
||||
"dist/tfjs.esm.js": {
|
||||
"imports": [],
|
||||
|
@ -21354,16 +21341,16 @@
|
|||
"bytesInOutput": 37
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.js": {
|
||||
"bytesInOutput": 70134
|
||||
"bytesInOutput": 70159
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm.js": {
|
||||
"bytesInOutput": 26019
|
||||
"bytesInOutput": 26037
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/backends/backend.js": {
|
||||
"bytesInOutput": 9452
|
||||
"bytesInOutput": 9451
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/util_base.js": {
|
||||
"bytesInOutput": 8574
|
||||
"bytesInOutput": 8572
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/environment.js": {
|
||||
"bytesInOutput": 2870
|
||||
|
@ -21372,7 +21359,7 @@
|
|||
"bytesInOutput": 657
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/kernel_names.js": {
|
||||
"bytesInOutput": 3324
|
||||
"bytesInOutput": 3328
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/kernel_registry.js": {
|
||||
"bytesInOutput": 1763
|
||||
|
@ -21399,7 +21386,7 @@
|
|||
"bytesInOutput": 1557
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/engine.js": {
|
||||
"bytesInOutput": 19714
|
||||
"bytesInOutput": 19637
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/device_util.js": {
|
||||
"bytesInOutput": 2380
|
||||
|
@ -21426,7 +21413,7 @@
|
|||
"bytesInOutput": 91
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/io/io_utils.js": {
|
||||
"bytesInOutput": 8163
|
||||
"bytesInOutput": 8144
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/io/router_registry.js": {
|
||||
"bytesInOutput": 1205
|
||||
|
@ -21453,7 +21440,7 @@
|
|||
"bytesInOutput": 378
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/clone.js": {
|
||||
"bytesInOutput": 226
|
||||
"bytesInOutput": 140
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/print.js": {
|
||||
"bytesInOutput": 63
|
||||
|
@ -21471,7 +21458,7 @@
|
|||
"bytesInOutput": 1114
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/io/weights_loader.js": {
|
||||
"bytesInOutput": 3653
|
||||
"bytesInOutput": 3650
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/io/http.js": {
|
||||
"bytesInOutput": 5925
|
||||
|
@ -21536,9 +21523,6 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/abs.js": {
|
||||
"bytesInOutput": 220
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/ops.js": {
|
||||
"bytesInOutput": 504
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/acos.js": {
|
||||
"bytesInOutput": 127
|
||||
},
|
||||
|
@ -21623,11 +21607,8 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/bincount.js": {
|
||||
"bytesInOutput": 617
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tile.js": {
|
||||
"bytesInOutput": 292
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/broadcast_to.js": {
|
||||
"bytesInOutput": 981
|
||||
"bytesInOutput": 909
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/ceil.js": {
|
||||
"bytesInOutput": 127
|
||||
|
@ -21705,7 +21686,7 @@
|
|||
"bytesInOutput": 152
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/div_no_nan.js": {
|
||||
"bytesInOutput": 279
|
||||
"bytesInOutput": 276
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/dot.js": {
|
||||
"bytesInOutput": 995
|
||||
|
@ -21725,6 +21706,9 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/expm1.js": {
|
||||
"bytesInOutput": 132
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tile.js": {
|
||||
"bytesInOutput": 292
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/eye.js": {
|
||||
"bytesInOutput": 745
|
||||
},
|
||||
|
@ -21798,7 +21782,7 @@
|
|||
"bytesInOutput": 218
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/log_softmax.js": {
|
||||
"bytesInOutput": 615
|
||||
"bytesInOutput": 693
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/axis_util.js": {
|
||||
"bytesInOutput": 1350
|
||||
|
@ -21830,11 +21814,8 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/maximum.js": {
|
||||
"bytesInOutput": 326
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/scalar.js": {
|
||||
"bytesInOutput": 460
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/mean.js": {
|
||||
"bytesInOutput": 557
|
||||
"bytesInOutput": 177
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/min.js": {
|
||||
"bytesInOutput": 172
|
||||
|
@ -21906,10 +21887,10 @@
|
|||
"bytesInOutput": 222
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/rand.js": {
|
||||
"bytesInOutput": 415
|
||||
"bytesInOutput": 414
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/rand_util.js": {
|
||||
"bytesInOutput": 2355
|
||||
"bytesInOutput": 2347
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/random_gamma.js": {
|
||||
"bytesInOutput": 401
|
||||
|
@ -21920,11 +21901,8 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/random_uniform.js": {
|
||||
"bytesInOutput": 278
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor1d.js": {
|
||||
"bytesInOutput": 262
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/range.js": {
|
||||
"bytesInOutput": 698
|
||||
"bytesInOutput": 190
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/real.js": {
|
||||
"bytesInOutput": 153
|
||||
|
@ -21959,6 +21937,9 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/rsqrt.js": {
|
||||
"bytesInOutput": 132
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/scalar.js": {
|
||||
"bytesInOutput": 460
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/selu.js": {
|
||||
"bytesInOutput": 127
|
||||
},
|
||||
|
@ -21966,7 +21947,7 @@
|
|||
"bytesInOutput": 1860
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/setdiff1d_async.js": {
|
||||
"bytesInOutput": 819
|
||||
"bytesInOutput": 816
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/sign.js": {
|
||||
"bytesInOutput": 127
|
||||
|
@ -22008,7 +21989,7 @@
|
|||
"bytesInOutput": 1357
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/sqrt.js": {
|
||||
"bytesInOutput": 203
|
||||
"bytesInOutput": 127
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/squared_difference.js": {
|
||||
"bytesInOutput": 340
|
||||
|
@ -22028,6 +22009,9 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/tan.js": {
|
||||
"bytesInOutput": 122
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor1d.js": {
|
||||
"bytesInOutput": 262
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/tensor2d.js": {
|
||||
"bytesInOutput": 526
|
||||
},
|
||||
|
@ -22067,6 +22051,9 @@
|
|||
"node_modules/@tensorflow/tfjs-core/dist/ops/boolean_mask.js": {
|
||||
"bytesInOutput": 1054
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/ops.js": {
|
||||
"bytesInOutput": 504
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/compare.js": {
|
||||
"bytesInOutput": 2011
|
||||
},
|
||||
|
@ -22077,7 +22064,7 @@
|
|||
"bytesInOutput": 1163
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/moving_average.js": {
|
||||
"bytesInOutput": 632
|
||||
"bytesInOutput": 629
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/scatter_nd.js": {
|
||||
"bytesInOutput": 346
|
||||
|
@ -22140,7 +22127,7 @@
|
|||
"bytesInOutput": 413
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/image/crop_and_resize.js": {
|
||||
"bytesInOutput": 1221
|
||||
"bytesInOutput": 1234
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/image/flip_left_right.js": {
|
||||
"bytesInOutput": 327
|
||||
|
@ -22278,7 +22265,7 @@
|
|||
"bytesInOutput": 137
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/backends/complex_util.js": {
|
||||
"bytesInOutput": 1719
|
||||
"bytesInOutput": 1700
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/ops/split_util.js": {
|
||||
"bytesInOutput": 777
|
||||
|
@ -22698,7 +22685,7 @@
|
|||
"bytesInOutput": 75
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/clip_by_value.js": {
|
||||
"bytesInOutput": 112
|
||||
"bytesInOutput": 110
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/concat.js": {
|
||||
"bytesInOutput": 126
|
||||
|
@ -23112,7 +23099,7 @@
|
|||
"bytesInOutput": 8996
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/exports_layers.js": {
|
||||
"bytesInOutput": 5877
|
||||
"bytesInOutput": 5875
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/backend/state.js": {
|
||||
"bytesInOutput": 254
|
||||
|
@ -23181,7 +23168,7 @@
|
|||
"bytesInOutput": 25543
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/models.js": {
|
||||
"bytesInOutput": 10244
|
||||
"bytesInOutput": 10242
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/exports.js": {
|
||||
"bytesInOutput": 451
|
||||
|
@ -23205,7 +23192,7 @@
|
|||
"bytesInOutput": 3354
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/layers/recurrent.js": {
|
||||
"bytesInOutput": 29892
|
||||
"bytesInOutput": 29890
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/layers/convolutional_recurrent.js": {
|
||||
"bytesInOutput": 9235
|
||||
|
@ -23232,7 +23219,7 @@
|
|||
"bytesInOutput": 10613
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/layers/wrappers.js": {
|
||||
"bytesInOutput": 9177
|
||||
"bytesInOutput": 9175
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-layers/dist/exports_metrics.js": {
|
||||
"bytesInOutput": 1736
|
||||
|
@ -23337,7 +23324,7 @@
|
|||
"bytesInOutput": 6529
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-converter/dist/operations/executors/creation_executor.js": {
|
||||
"bytesInOutput": 2251
|
||||
"bytesInOutput": 2249
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-converter/dist/operations/executors/dynamic_executor.js": {
|
||||
"bytesInOutput": 1840
|
||||
|
@ -23481,10 +23468,10 @@
|
|||
"bytesInOutput": 1159
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Complex.js": {
|
||||
"bytesInOutput": 543
|
||||
"bytesInOutput": 541
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/zeros_impl.js": {
|
||||
"bytesInOutput": 360
|
||||
"bytesInOutput": 357
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Identity.js": {
|
||||
"bytesInOutput": 229
|
||||
|
@ -23493,7 +23480,7 @@
|
|||
"bytesInOutput": 319
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Cast.js": {
|
||||
"bytesInOutput": 1447
|
||||
"bytesInOutput": 1446
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/utils/binary_utils.js": {
|
||||
"bytesInOutput": 3700
|
||||
|
@ -23532,7 +23519,7 @@
|
|||
"bytesInOutput": 172
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/LinSpace_impl.js": {
|
||||
"bytesInOutput": 216
|
||||
"bytesInOutput": 214
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Log.js": {
|
||||
"bytesInOutput": 155
|
||||
|
@ -23565,7 +23552,7 @@
|
|||
"bytesInOutput": 1477
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Range_impl.js": {
|
||||
"bytesInOutput": 540
|
||||
"bytesInOutput": 533
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Rsqrt.js": {
|
||||
"bytesInOutput": 172
|
||||
|
@ -23591,12 +23578,12 @@
|
|||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Unique_impl.js": {
|
||||
"bytesInOutput": 1319
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/base.js": {
|
||||
"bytesInOutput": 48
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/version.js": {
|
||||
"bytesInOutput": 22
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/base.js": {
|
||||
"bytesInOutput": 48
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/index.js": {
|
||||
"bytesInOutput": 0
|
||||
},
|
||||
|
@ -23646,7 +23633,7 @@
|
|||
"bytesInOutput": 1249
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/ArgMin.js": {
|
||||
"bytesInOutput": 1249
|
||||
"bytesInOutput": 1246
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Asin.js": {
|
||||
"bytesInOutput": 114
|
||||
|
@ -23667,7 +23654,7 @@
|
|||
"bytesInOutput": 7788
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/AvgPool.js": {
|
||||
"bytesInOutput": 979
|
||||
"bytesInOutput": 977
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/AvgPool3D.js": {
|
||||
"bytesInOutput": 656
|
||||
|
@ -23724,7 +23711,7 @@
|
|||
"bytesInOutput": 114
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/CropAndResize.js": {
|
||||
"bytesInOutput": 2986
|
||||
"bytesInOutput": 2913
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Cumsum.js": {
|
||||
"bytesInOutput": 1545
|
||||
|
@ -23841,7 +23828,7 @@
|
|||
"bytesInOutput": 1184
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/MaxPool.js": {
|
||||
"bytesInOutput": 979
|
||||
"bytesInOutput": 977
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/MaxPool3D.js": {
|
||||
"bytesInOutput": 656
|
||||
|
@ -23859,13 +23846,13 @@
|
|||
"bytesInOutput": 743
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Sum.js": {
|
||||
"bytesInOutput": 1611
|
||||
"bytesInOutput": 1610
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Mean.js": {
|
||||
"bytesInOutput": 809
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Min.js": {
|
||||
"bytesInOutput": 1398
|
||||
"bytesInOutput": 1394
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/MirrorPad.js": {
|
||||
"bytesInOutput": 1160
|
||||
|
@ -23907,7 +23894,7 @@
|
|||
"bytesInOutput": 161
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Range.js": {
|
||||
"bytesInOutput": 266
|
||||
"bytesInOutput": 264
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-cpu/dist/kernels/Reciprocal.js": {
|
||||
"bytesInOutput": 135
|
||||
|
@ -24012,7 +23999,7 @@
|
|||
"bytesInOutput": 2847
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/webgl_util.js": {
|
||||
"bytesInOutput": 14359
|
||||
"bytesInOutput": 14351
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/flags_webgl.js": {
|
||||
"bytesInOutput": 2638
|
||||
|
@ -24042,10 +24029,10 @@
|
|||
"bytesInOutput": 1719
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/gpgpu_util.js": {
|
||||
"bytesInOutput": 6701
|
||||
"bytesInOutput": 6694
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/gpgpu_context.js": {
|
||||
"bytesInOutput": 12321
|
||||
"bytesInOutput": 12317
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/shader_compiler.js": {
|
||||
"bytesInOutput": 33874
|
||||
|
@ -24078,17 +24065,17 @@
|
|||
"bytesInOutput": 560
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/backend_webgl.js": {
|
||||
"bytesInOutput": 20103
|
||||
"bytesInOutput": 20099
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/version.js": {
|
||||
"bytesInOutput": 22
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/base.js": {
|
||||
"bytesInOutput": 113
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/webgl.js": {
|
||||
"bytesInOutput": 67
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/base.js": {
|
||||
"bytesInOutput": 113
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/index.js": {
|
||||
"bytesInOutput": 0
|
||||
},
|
||||
|
@ -24102,7 +24089,7 @@
|
|||
"bytesInOutput": 232
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Complex.js": {
|
||||
"bytesInOutput": 671
|
||||
"bytesInOutput": 669
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/LeakyRelu.js": {
|
||||
"bytesInOutput": 752
|
||||
|
@ -24162,7 +24149,7 @@
|
|||
"bytesInOutput": 408
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Abs.js": {
|
||||
"bytesInOutput": 559
|
||||
"bytesInOutput": 557
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Acos.js": {
|
||||
"bytesInOutput": 198
|
||||
|
@ -24279,10 +24266,10 @@
|
|||
"bytesInOutput": 182
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/clip_gpu.js": {
|
||||
"bytesInOutput": 668
|
||||
"bytesInOutput": 666
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/clip_packed_gpu.js": {
|
||||
"bytesInOutput": 733
|
||||
"bytesInOutput": 731
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/ClipByValue.js": {
|
||||
"bytesInOutput": 452
|
||||
|
@ -24498,7 +24485,7 @@
|
|||
"bytesInOutput": 271
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Log.js": {
|
||||
"bytesInOutput": 495
|
||||
"bytesInOutput": 493
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Log1p.js": {
|
||||
"bytesInOutput": 146
|
||||
|
@ -24531,10 +24518,10 @@
|
|||
"bytesInOutput": 519
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Max.js": {
|
||||
"bytesInOutput": 1715
|
||||
"bytesInOutput": 1713
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Maximum.js": {
|
||||
"bytesInOutput": 399
|
||||
"bytesInOutput": 397
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/MaxPool.js": {
|
||||
"bytesInOutput": 854
|
||||
|
@ -24591,7 +24578,7 @@
|
|||
"bytesInOutput": 194
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Softmax.js": {
|
||||
"bytesInOutput": 1133
|
||||
"bytesInOutput": 1132
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Multinomial.js": {
|
||||
"bytesInOutput": 611
|
||||
|
@ -24639,13 +24626,13 @@
|
|||
"bytesInOutput": 1528
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Range.js": {
|
||||
"bytesInOutput": 265
|
||||
"bytesInOutput": 263
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Reciprocal.js": {
|
||||
"bytesInOutput": 171
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Relu.js": {
|
||||
"bytesInOutput": 476
|
||||
"bytesInOutput": 474
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Relu6.js": {
|
||||
"bytesInOutput": 507
|
||||
|
@ -24765,7 +24752,7 @@
|
|||
"bytesInOutput": 833
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/Tile.js": {
|
||||
"bytesInOutput": 536
|
||||
"bytesInOutput": 534
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/TopK.js": {
|
||||
"bytesInOutput": 454
|
||||
|
@ -24780,7 +24767,7 @@
|
|||
"bytesInOutput": 3803
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/kernels/UnsortedSegmentSum.js": {
|
||||
"bytesInOutput": 2057
|
||||
"bytesInOutput": 2056
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-webgl/dist/register_all_kernels.js": {
|
||||
"bytesInOutput": 2566
|
||||
|
@ -24969,7 +24956,7 @@
|
|||
"bytesInOutput": 687
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/PadV2.js": {
|
||||
"bytesInOutput": 950
|
||||
"bytesInOutput": 948
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Pow.js": {
|
||||
"bytesInOutput": 96
|
||||
|
@ -24980,6 +24967,9 @@
|
|||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Prod.js": {
|
||||
"bytesInOutput": 1334
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Range.js": {
|
||||
"bytesInOutput": 317
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/RealDiv.js": {
|
||||
"bytesInOutput": 104
|
||||
},
|
||||
|
@ -25044,7 +25034,7 @@
|
|||
"bytesInOutput": 46
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/Tile.js": {
|
||||
"bytesInOutput": 768
|
||||
"bytesInOutput": 766
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/kernels/TopK.js": {
|
||||
"bytesInOutput": 820
|
||||
|
@ -25056,28 +25046,28 @@
|
|||
"bytesInOutput": 258
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/register_all_kernels.js": {
|
||||
"bytesInOutput": 1399
|
||||
"bytesInOutput": 1412
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/flags_wasm.js": {
|
||||
"bytesInOutput": 494
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/backend_wasm.js": {
|
||||
"bytesInOutput": 6493
|
||||
"bytesInOutput": 6457
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/wasm-out/tfjs-backend-wasm-threaded-simd.worker.js": {
|
||||
"bytesInOutput": 3425
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/base.js": {
|
||||
"bytesInOutput": 121
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/version.js": {
|
||||
"bytesInOutput": 22
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/base.js": {
|
||||
"bytesInOutput": 121
|
||||
},
|
||||
"node_modules/@tensorflow/tfjs-backend-wasm/dist/index.js": {
|
||||
"bytesInOutput": 0
|
||||
}
|
||||
},
|
||||
"bytes": 1573542
|
||||
"bytes": 1572551
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,7 +103,14 @@ async function image(url) {
|
|||
async function main() {
|
||||
// initialize tfjs
|
||||
log('FaceAPI Test');
|
||||
|
||||
// if you want to use wasm backend location for wasm binaries must be specified
|
||||
// await faceapi.tf.setWasmPaths('../node_modules/@tensorflow/tfjs-backend-wasm/dist/')
|
||||
// await faceapi.tf.setBackend('wasm');
|
||||
|
||||
// default is webgl backend
|
||||
await faceapi.tf.setBackend('webgl');
|
||||
|
||||
await faceapi.tf.enableProdMode();
|
||||
await faceapi.tf.ENV.set('DEBUG', false);
|
||||
await faceapi.tf.ready();
|
||||
|
|
|
@ -5,17 +5,17 @@
|
|||
"requires": true,
|
||||
"dependencies": {
|
||||
"@tensorflow/tfjs": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-2.8.0.tgz",
|
||||
"integrity": "sha512-jIG+WqaBq3NsTU5SnJuxqfgkKLpjVPlU2dbVepKgEqVY7XdffiJEoLBslOSgEJQc0j3GskOmZRw4F9u3NqgB1g==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-2.8.1.tgz",
|
||||
"integrity": "sha512-7lLuOPO6+GtNJq6nOVB6QH6gxnhll7WZpF0nXpFttTe1YttH+Jq9ON4n9mQK7p8Cnd0ZVsNVOeDi9hKuIJ5LvA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.0",
|
||||
"@tensorflow/tfjs-backend-webgl": "2.8.0",
|
||||
"@tensorflow/tfjs-converter": "2.8.0",
|
||||
"@tensorflow/tfjs-core": "2.8.0",
|
||||
"@tensorflow/tfjs-data": "2.8.0",
|
||||
"@tensorflow/tfjs-layers": "2.8.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.1",
|
||||
"@tensorflow/tfjs-backend-webgl": "2.8.1",
|
||||
"@tensorflow/tfjs-converter": "2.8.1",
|
||||
"@tensorflow/tfjs-core": "2.8.1",
|
||||
"@tensorflow/tfjs-data": "2.8.1",
|
||||
"@tensorflow/tfjs-layers": "2.8.1",
|
||||
"argparse": "^1.0.10",
|
||||
"chalk": "^4.1.0",
|
||||
"core-js": "3",
|
||||
|
@ -24,9 +24,9 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-cpu": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-2.8.0.tgz",
|
||||
"integrity": "sha512-RmseKyCWJR0Jz7HyRXm6VVjpaM9Rbql9Vr7Jrx4SCpYX8BzrRVxDYq9aMZqYh93qBj4xX5upoQ5y5zoaFjpbTw==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-2.8.1.tgz",
|
||||
"integrity": "sha512-892wexhPEnYbAXV0SD73WYBMv008+USG0lcR0pkCR2iYAv3JKMUQ+v++c5Bp4cX8gaqMk+pDLabKluOiw6rQpA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/seedrandom": "2.4.27",
|
||||
|
@ -34,22 +34,22 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-wasm": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-2.8.0.tgz",
|
||||
"integrity": "sha512-gBu0Td7CA5ufyIolwb/YAlE5cTCEa9RcfzRsIxt5zSjt0D2VWVVw7wh1rsYS81OLhKl+Zm9m9eOe8QTJL6A8Xw==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-wasm/-/tfjs-backend-wasm-2.8.1.tgz",
|
||||
"integrity": "sha512-0EOYa9mjM40UoGiz5MKUzRUjqqp3YS+Xax4tP9q9mTbfQWFwCrUHqGulNk1r5DMwC1LQODIXRJZYijHfPGOlRA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.1",
|
||||
"@types/emscripten": "~0.0.34"
|
||||
}
|
||||
},
|
||||
"@tensorflow/tfjs-backend-webgl": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-2.8.0.tgz",
|
||||
"integrity": "sha512-GZNpRyXQBHe3Tkt5m63HjgGyklfvU5kAoIuZe+jyfznzxkn3dhmiiLyMByQkxuc0LMZD1987riv0ALMSAXvVbQ==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-2.8.1.tgz",
|
||||
"integrity": "sha512-f0Le9LFW8z20Oyhb0lLFubPgDd6Yb6ObHg5YgVFgXBLmdHV8HHdM+zLHipZRz0AzmTSHrZdRYhnKYvJsb9ktiQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "2.8.1",
|
||||
"@types/offscreencanvas": "~2019.3.0",
|
||||
"@types/seedrandom": "2.4.27",
|
||||
"@types/webgl-ext": "0.0.30",
|
||||
|
@ -58,15 +58,15 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-converter": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-2.8.0.tgz",
|
||||
"integrity": "sha512-GvVzPu0+gtgfq0+UAA2mHV7z5TT359TAUUJHOI7/dDSlfCMfLx5bSa0CamW7PIPkzSn9urljXTbocdeNAdpJKQ==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-2.8.1.tgz",
|
||||
"integrity": "sha512-p/v1sUZIQnMFv7hmsuGBMEs7wjcDdG5mrTa8Re9+VffSBfYWwrEcso7fYTTRoUAbqM8l35LcrwjEKN4O+ZQb0w==",
|
||||
"dev": true
|
||||
},
|
||||
"@tensorflow/tfjs-core": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-2.8.0.tgz",
|
||||
"integrity": "sha512-MMU5wG9bRPccFjxfc5vORw8YkjfFrPUtnoPQ/1WOqud5l3z3a318WAGqzSloPUMOMPD0c7x0vPQBsUgteliC2w==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-2.8.1.tgz",
|
||||
"integrity": "sha512-y9FHHO28g2j6zp8ukBo9exoYQWvx29KR7Nv48XpGro7mgnmKR5tVjtJQFtfSWN8ePMiYPJNS6+EXCwVD6lsB7A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/offscreencanvas": "~2019.3.0",
|
||||
|
@ -77,9 +77,9 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-data": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-2.8.0.tgz",
|
||||
"integrity": "sha512-U0UbL6Hffcq6O6r6Isb6cPM9GxXUcU998gcPSIBeTMaGnBGbm/tl6Nf7f8SbGV4076ojeeFr4+0ly8heyBnfew==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-2.8.1.tgz",
|
||||
"integrity": "sha512-oPMzbFxxg7447UQHc7XYRhpHE5PeuzzcsU9V+CFIreLVxz4O7HyBd4+Izgc+oJ+GJMhBxUTYaTxPqTu/cdn+7Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node-fetch": "^2.1.2",
|
||||
|
@ -87,19 +87,19 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-layers": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-2.8.0.tgz",
|
||||
"integrity": "sha512-g7ZEXyo46osVbJAR90KXbwWr82OlcqZOohSEIMXSZ/egnXLQpQqUBmGg8p8Nw2es6jmpSfOBDivv1z59HExVvg==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-2.8.1.tgz",
|
||||
"integrity": "sha512-YQswrKIw2yhCFpvA2tZkxyfNCCrSZD2mDecLWCJW4sY2IvFeFgU03X7ZmalvWyvGFyQi58KJxtdge6jzR3mn8A==",
|
||||
"dev": true
|
||||
},
|
||||
"@tensorflow/tfjs-node": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-2.8.0.tgz",
|
||||
"integrity": "sha512-u62AqvIS9jaMrw09Hl/Dy1YKiqEkltQ1c+RoJuW0XE685bjRue7FRmkJy69+EvsnXLY6gvPR1y+LguTPql8ZwA==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node/-/tfjs-node-2.8.1.tgz",
|
||||
"integrity": "sha512-aAGGj0ZJRxRZ/Xv8cdkMBjvVMfg2zreNoe/jkCQWhzZzm2n2EcmkDeCeL70UJVJxhtdUJ2UKsACPsPf+Med6wA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs": "2.8.0",
|
||||
"@tensorflow/tfjs-core": "2.8.0",
|
||||
"@tensorflow/tfjs": "2.8.1",
|
||||
"@tensorflow/tfjs-core": "2.8.1",
|
||||
"adm-zip": "^0.4.11",
|
||||
"google-protobuf": "^3.9.2",
|
||||
"https-proxy-agent": "^2.2.1",
|
||||
|
@ -121,13 +121,13 @@
|
|||
}
|
||||
},
|
||||
"@tensorflow/tfjs-node-gpu": {
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-2.8.0.tgz",
|
||||
"integrity": "sha512-8k2N+OTXSbiwn3vJ0F1ukQHfWiw1Rwy4e/JnJFN6d/9Tp6bkdfx3Il/C/uk0RDAc6Pq5n7pHs9Pthg5gApTj1A==",
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/@tensorflow/tfjs-node-gpu/-/tfjs-node-gpu-2.8.1.tgz",
|
||||
"integrity": "sha512-3jqhNoBvlwBUUGjwP3TNKGXxPPbIPpr6juQQJ3rM+ckYifyAGiYraszHqaJe3VV7ABYusqZ4+iBJ7NeE464/7g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@tensorflow/tfjs": "2.8.0",
|
||||
"@tensorflow/tfjs-core": "2.8.0",
|
||||
"@tensorflow/tfjs": "2.8.1",
|
||||
"@tensorflow/tfjs-core": "2.8.1",
|
||||
"adm-zip": "^0.4.11",
|
||||
"google-protobuf": "^3.9.2",
|
||||
"https-proxy-agent": "^2.2.1",
|
||||
|
@ -155,9 +155,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.14.13",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.13.tgz",
|
||||
"integrity": "sha512-vbxr0VZ8exFMMAjCW8rJwaya0dMCDyYW2ZRdTyjtrCvJoENMpdUHOT/eTzvgyA5ZnqRZ/sI0NwqAxNHKYokLJQ==",
|
||||
"version": "14.14.14",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.14.tgz",
|
||||
"integrity": "sha512-UHnOPWVWV1z+VV8k6L1HhG7UbGBgIdghqF3l9Ny9ApPghbjICXkUJSd/b9gOgQfjM1r+37cipdw/HJ3F6ICEnQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/node-fetch": {
|
||||
|
@ -251,12 +251,6 @@
|
|||
"readable-stream": "^2.0.6"
|
||||
}
|
||||
},
|
||||
"arg": {
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
|
||||
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
|
||||
"dev": true
|
||||
},
|
||||
"argparse": {
|
||||
"version": "1.0.10",
|
||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
||||
|
@ -288,12 +282,6 @@
|
|||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
|
||||
|
@ -375,12 +363,6 @@
|
|||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
|
||||
"dev": true
|
||||
},
|
||||
"create-require": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
|
||||
"integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "3.2.7",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
|
||||
|
@ -414,12 +396,6 @@
|
|||
"integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=",
|
||||
"dev": true
|
||||
},
|
||||
"diff": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
|
||||
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
|
||||
"dev": true
|
||||
},
|
||||
"emoji-regex": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
||||
|
@ -442,9 +418,9 @@
|
|||
}
|
||||
},
|
||||
"esbuild": {
|
||||
"version": "0.8.23",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.23.tgz",
|
||||
"integrity": "sha512-LkgCmotGnhVgRGxjDkTBBYrnJ5stcxK+40cEJGtXUS16hcAWy90cn1qjxKCogzLPJ75gW/L6ejly7VKrMstVGQ==",
|
||||
"version": "0.8.24",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.8.24.tgz",
|
||||
"integrity": "sha512-bqgEa2VemAN+YM52SM1626+/pdLp+p9NyqISB06ixcvauKIJk6akia3UTTsGAgn0oHEdReZ97gL+LYX+UjgwKA==",
|
||||
"dev": true
|
||||
},
|
||||
"escalade": {
|
||||
|
@ -632,12 +608,6 @@
|
|||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
|
||||
"dev": true
|
||||
},
|
||||
"make-error": {
|
||||
"version": "1.3.6",
|
||||
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
|
||||
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
|
||||
"dev": true
|
||||
},
|
||||
"mime-db": {
|
||||
"version": "1.44.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
|
||||
|
@ -947,22 +917,6 @@
|
|||
"integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map-support": {
|
||||
"version": "0.5.19",
|
||||
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",
|
||||
"integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"buffer-from": "^1.0.0",
|
||||
"source-map": "^0.6.0"
|
||||
}
|
||||
},
|
||||
"sprintf-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||
|
@ -1028,20 +982,6 @@
|
|||
"yallist": "^3.0.3"
|
||||
}
|
||||
},
|
||||
"ts-node": {
|
||||
"version": "9.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz",
|
||||
"integrity": "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"arg": "^4.1.0",
|
||||
"create-require": "^1.1.0",
|
||||
"diff": "^4.0.1",
|
||||
"make-error": "^1.1.1",
|
||||
"source-map-support": "^0.5.17",
|
||||
"yn": "3.1.1"
|
||||
}
|
||||
},
|
||||
"tslib": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
|
||||
|
@ -1151,12 +1091,6 @@
|
|||
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz",
|
||||
"integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==",
|
||||
"dev": true
|
||||
},
|
||||
"yn": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
|
||||
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
14
package.json
14
package.json
|
@ -5,6 +5,7 @@
|
|||
"main": "dist/face-api.node.js",
|
||||
"module": "dist/face-api.esm.js",
|
||||
"browser": "dist/face-api.esm.js",
|
||||
"typings": "dist/face-api.d.ts",
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
},
|
||||
|
@ -38,14 +39,13 @@
|
|||
"@vladmandic/pilogger": "^0.2.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tensorflow/tfjs": "^2.8.0",
|
||||
"@tensorflow/tfjs-node": "^2.8.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^2.8.0",
|
||||
"@tensorflow/tfjs-backend-wasm": "^2.8.0",
|
||||
"@types/node": "^14.14.13",
|
||||
"esbuild": "^0.8.23",
|
||||
"@tensorflow/tfjs": "^2.8.1",
|
||||
"@tensorflow/tfjs-backend-wasm": "^2.8.1",
|
||||
"@tensorflow/tfjs-node": "^2.8.1",
|
||||
"@tensorflow/tfjs-node-gpu": "^2.8.1",
|
||||
"@types/node": "^14.14.14",
|
||||
"esbuild": "^0.8.24",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-node": "^9.1.1",
|
||||
"tslib": "^2.0.3",
|
||||
"typescript": "^4.1.3"
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import * as tf from '../dist/tfjs.esm.js';
|
||||
|
||||
import { ParamMapping } from './common';
|
||||
import { ParamMapping } from './common/index';
|
||||
import { getModelUris } from './common/getModelUris';
|
||||
import { loadWeightMap } from './dom';
|
||||
import { env } from './env';
|
||||
import { loadWeightMap } from './dom/index';
|
||||
import { env } from './env/index';
|
||||
|
||||
export abstract class NeuralNetwork<TNetParams> {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import { extractParams } from './extractParams';
|
|||
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap';
|
||||
import { AgeAndGenderPrediction, Gender, NetOutput, NetParams } from './types';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
|
||||
export class AgeGenderNet extends NeuralNetwork<NetParams> {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { extractFCParamsFactory, extractWeightsFactory, ParamMapping } from '../common';
|
||||
import { extractFCParamsFactory, extractWeightsFactory, ParamMapping } from '../common/index';
|
||||
import { NetParams } from './types';
|
||||
|
||||
export function extractParams(weights: Float32Array): { params: NetParams, paramMappings: ParamMapping[] } {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, FCParams, ParamMapping } from '../common';
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, FCParams, ParamMapping } from '../common/index';
|
||||
import { NetParams } from './types';
|
||||
|
||||
export function extractParamsFromWeigthMap(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { FCParams } from '../common';
|
||||
import { FCParams } from '../common/index';
|
||||
|
||||
export type AgeAndGenderPrediction = {
|
||||
age: number
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isDimensions, isValidNumber } from '../utils';
|
||||
import { isDimensions, isValidNumber } from '../utils/index';
|
||||
import { IBoundingBox } from './BoundingBox';
|
||||
import { IDimensions } from './Dimensions';
|
||||
import { Point } from './Point';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isValidNumber } from '../utils';
|
||||
import { isValidNumber } from '../utils/index';
|
||||
|
||||
export interface IDimensions {
|
||||
width: number
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { minBbox } from '../ops';
|
||||
import { getCenterPoint } from '../utils';
|
||||
import { minBbox } from '../ops/index';
|
||||
import { getCenterPoint } from '../utils/index';
|
||||
import { IBoundingBox } from './BoundingBox';
|
||||
import { Box } from './Box';
|
||||
import { Dimensions, IDimensions } from './Dimensions';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { getCenterPoint } from '../utils';
|
||||
import { getCenterPoint } from '../utils/index';
|
||||
import { FaceLandmarks } from './FaceLandmarks';
|
||||
import { Point } from './Point';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { getCenterPoint } from '../utils';
|
||||
import { getCenterPoint } from '../utils/index';
|
||||
import { FaceLandmarks } from './FaceLandmarks';
|
||||
import { Point } from './Point';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { round } from '../utils';
|
||||
import { round } from '../utils/index';
|
||||
|
||||
export interface IFaceMatch {
|
||||
label: string
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isValidNumber } from '../utils';
|
||||
import { isValidNumber } from '../utils/index';
|
||||
import { IBoundingBox } from './BoundingBox';
|
||||
import { Box } from './Box';
|
||||
import { IRect } from './Rect';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isValidProbablitiy } from '../utils';
|
||||
import { isValidProbablitiy } from '../utils/index';
|
||||
import { IBoundingBox } from './BoundingBox';
|
||||
import { LabeledBox } from './LabeledBox';
|
||||
import { IRect } from './Rect';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isTensor } from '../utils';
|
||||
import { isTensor } from '../utils/index';
|
||||
import { ParamMapping } from './types';
|
||||
|
||||
export function extractWeightEntryFactory(weightMap: any, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { Dimensions } from '../classes/Dimensions';
|
||||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { padToSquare } from '../ops/padToSquare';
|
||||
import { computeReshapedDimensions, isTensor3D, isTensor4D, range } from '../utils';
|
||||
import { computeReshapedDimensions, isTensor3D, isTensor4D, range } from '../utils/index';
|
||||
import { createCanvasFromMedia } from './createCanvas';
|
||||
import { imageToSquare } from './imageToSquare';
|
||||
import { TResolvedNetInput } from './types';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { isMediaLoaded } from './isMediaLoaded';
|
||||
|
||||
export function awaitMediaLoaded(media: HTMLImageElement | HTMLVideoElement | HTMLCanvasElement) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export function bufferToImage(buf: Blob): Promise<HTMLImageElement> {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { IDimensions } from '../classes/Dimensions';
|
||||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { getContext2dOrThrow } from './getContext2dOrThrow';
|
||||
import { getMediaDimensions } from './getMediaDimensions';
|
||||
import { isMediaLoaded } from './isMediaLoaded';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { Rect } from '../classes';
|
||||
import { Rect } from '../classes/index';
|
||||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { isTensor3D, isTensor4D } from '../utils';
|
||||
import { isTensor3D, isTensor4D } from '../utils/index';
|
||||
|
||||
/**
|
||||
* Extracts the tensors of the image regions containing the detected faces.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { Rect } from '../classes/Rect';
|
||||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { createCanvas } from './createCanvas';
|
||||
import { getContext2dOrThrow } from './getContext2dOrThrow';
|
||||
import { imageTensorToCanvas } from './imageTensorToCanvas';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export async function fetchOrThrow(
|
||||
url: string,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { resolveInput } from './resolveInput';
|
||||
|
||||
export function getContext2dOrThrow(canvasArg: string | HTMLCanvasElement | CanvasRenderingContext2D): CanvasRenderingContext2D {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Dimensions, IDimensions } from '../classes/Dimensions';
|
||||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export function getMediaDimensions(input: HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | IDimensions): Dimensions {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { env } from '../env';
|
||||
import { isTensor4D } from '../utils';
|
||||
import { env } from '../env/index';
|
||||
import { isTensor4D } from '../utils/index';
|
||||
|
||||
export async function imageTensorToCanvas(
|
||||
imgTensor: tf.Tensor,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
import { createCanvas, createCanvasFromMedia } from './createCanvas';
|
||||
import { getContext2dOrThrow } from './getContext2dOrThrow';
|
||||
import { getMediaDimensions } from './getMediaDimensions';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export function isMediaElement(input: any) {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export function isMediaLoaded(media: HTMLImageElement | HTMLVideoElement) : boolean {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDimensions } from '../classes';
|
||||
import { IDimensions } from '../classes/index';
|
||||
import { getMediaDimensions } from './getMediaDimensions';
|
||||
|
||||
export function matchDimensions(input: IDimensions, reference: IDimensions, useMediaDimensions: boolean = false) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { env } from '../env';
|
||||
import { env } from '../env/index';
|
||||
|
||||
export function resolveInput(arg: string | any) {
|
||||
if (!env.isNodejs() && typeof arg === 'string') {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { isTensor3D, isTensor4D } from '../utils';
|
||||
import { isTensor3D, isTensor4D } from '../utils/index';
|
||||
import { awaitMediaLoaded } from './awaitMediaLoaded';
|
||||
import { isMediaElement } from './isMediaElement';
|
||||
import { NetInput } from './NetInput';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Box, IBoundingBox, IRect } from '../classes';
|
||||
import { Box, IBoundingBox, IRect } from '../classes/index';
|
||||
import { getContext2dOrThrow } from '../dom/getContext2dOrThrow';
|
||||
import { AnchorPosition, DrawTextField, DrawTextFieldOptions, IDrawTextFieldOptions } from './DrawTextField';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IPoint } from '../classes';
|
||||
import { IPoint } from '../classes/index';
|
||||
import { FaceLandmarks } from '../classes/FaceLandmarks';
|
||||
import { FaceLandmarks68 } from '../classes/FaceLandmarks68';
|
||||
import { getContext2dOrThrow } from '../dom/getContext2dOrThrow';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDimensions, IPoint } from '../classes';
|
||||
import { IDimensions, IPoint } from '../classes/index';
|
||||
import { getContext2dOrThrow } from '../dom/getContext2dOrThrow';
|
||||
import { resolveInput } from '../dom/resolveInput';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Point } from '../classes';
|
||||
import { Point } from '../classes/index';
|
||||
|
||||
export function drawContour(
|
||||
ctx: CanvasRenderingContext2D,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Box, IBoundingBox, IRect } from '../classes';
|
||||
import { Box, IBoundingBox, IRect } from '../classes/index';
|
||||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { isWithFaceDetection, WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { round } from '../utils';
|
||||
import { round } from '../utils/index';
|
||||
import { DrawBox } from './DrawBox';
|
||||
|
||||
export type TDrawDetectionsInput = IRect | IBoundingBox | FaceDetection | WithFaceDetection<{}>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { IPoint, Point } from '../classes';
|
||||
import { FaceExpressions } from '../faceExpressionNet';
|
||||
import { IPoint, Point } from '../classes/index';
|
||||
import { FaceExpressions } from '../faceExpressionNet/index';
|
||||
import { isWithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { isWithFaceExpressions, WithFaceExpressions } from '../factories/WithFaceExpressions';
|
||||
import { round } from '../utils';
|
||||
import { round } from '../utils/index';
|
||||
import { DrawTextField } from './DrawTextField';
|
||||
|
||||
export type DrawFaceExpressionsInput = FaceExpressions | WithFaceExpressions<{}>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { FaceFeatureExtractor } from '../faceFeatureExtractor/FaceFeatureExtractor';
|
||||
import { FaceFeatureExtractorParams } from '../faceFeatureExtractor/types';
|
||||
import { FaceProcessor } from '../faceProcessor/FaceProcessor';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
import { normalize } from '../ops';
|
||||
import { normalize } from '../ops/index';
|
||||
import { denseBlock4 } from './denseBlock';
|
||||
import { extractParams } from './extractParams';
|
||||
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
import { normalize } from '../ops';
|
||||
import { normalize } from '../ops/index';
|
||||
import { denseBlock3 } from './denseBlock';
|
||||
import { extractParamsFromWeigthMapTiny } from './extractParamsFromWeigthMapTiny';
|
||||
import { extractParamsTiny } from './extractParamsTiny';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ConvParams, SeparableConvParams } from '../common';
|
||||
import { ConvParams, SeparableConvParams } from '../common/index';
|
||||
import { depthwiseSeparableConv } from '../common/depthwiseSeparableConv';
|
||||
import { DenseBlock3Params, DenseBlock4Params } from './types';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { extractWeightsFactory, ParamMapping } from '../common';
|
||||
import { extractWeightsFactory, ParamMapping } from '../common/index';
|
||||
import { extractorsFactory } from './extractorsFactory';
|
||||
import { FaceFeatureExtractorParams } from './types';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { disposeUnusedWeightTensors, ParamMapping } from '../common';
|
||||
import { disposeUnusedWeightTensors, ParamMapping } from '../common/index';
|
||||
import { loadParamsFactory } from './loadParamsFactory';
|
||||
import { FaceFeatureExtractorParams } from './types';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { disposeUnusedWeightTensors, ParamMapping } from '../common';
|
||||
import { disposeUnusedWeightTensors, ParamMapping } from '../common/index';
|
||||
import { loadParamsFactory } from './loadParamsFactory';
|
||||
import { TinyFaceFeatureExtractorParams } from './types';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { extractWeightsFactory, ParamMapping } from '../common';
|
||||
import { extractWeightsFactory, ParamMapping } from '../common/index';
|
||||
import { extractorsFactory } from './extractorsFactory';
|
||||
import { TinyFaceFeatureExtractorParams } from './types';
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import {
|
|||
extractSeparableConvParamsFactory,
|
||||
ExtractWeightsFunction,
|
||||
ParamMapping,
|
||||
} from '../common';
|
||||
} from '../common/index';
|
||||
import { DenseBlock3Params, DenseBlock4Params } from './types';
|
||||
|
||||
export function extractorsFactory(extractWeights: ExtractWeightsFunction, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { extractWeightEntryFactory, loadSeparableConvParamsFactory, ParamMapping } from '../common';
|
||||
import { extractWeightEntryFactory, loadSeparableConvParamsFactory, ParamMapping } from '../common/index';
|
||||
import { loadConvParamsFactory } from '../common/loadConvParamsFactory';
|
||||
import { DenseBlock3Params, DenseBlock4Params } from './types';
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { NetInput, TNetInput } from '..';
|
||||
import { ConvParams, SeparableConvParams } from '../common';
|
||||
import { NetInput, TNetInput } from '../index';
|
||||
import { ConvParams, SeparableConvParams } from '../common/index';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
|
||||
export type ConvWithBatchNormParams = BatchNormParams & {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { IDimensions, Point } from '../classes';
|
||||
import { IDimensions, Point } from '../classes/index';
|
||||
import { FaceLandmarks68 } from '../classes/FaceLandmarks68';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { FaceFeatureExtractorParams, TinyFaceFeatureExtractorParams } from '../faceFeatureExtractor/types';
|
||||
import { FaceProcessor } from '../faceProcessor/FaceProcessor';
|
||||
import { isEven } from '../utils';
|
||||
import { isEven } from '../utils/index';
|
||||
|
||||
export abstract class FaceLandmark68NetBase<
|
||||
TExtractorParams extends FaceFeatureExtractorParams | TinyFaceFeatureExtractorParams
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { fullyConnectedLayer } from '../common/fullyConnectedLayer';
|
||||
import { NetInput } from '../dom';
|
||||
import { NetInput } from '../dom/index';
|
||||
import {
|
||||
FaceFeatureExtractorParams,
|
||||
IFaceFeatureExtractor,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { extractFCParamsFactory, extractWeightsFactory, ParamMapping } from '../common';
|
||||
import { extractFCParamsFactory, extractWeightsFactory, ParamMapping } from '../common/index';
|
||||
import { NetParams } from './types';
|
||||
|
||||
export function extractParams(weights: Float32Array, channelsIn: number, channelsOut: number): { params: NetParams, paramMappings: ParamMapping[] } {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, FCParams, ParamMapping } from '../common';
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, FCParams, ParamMapping } from '../common/index';
|
||||
import { NetParams } from './types';
|
||||
|
||||
export function extractParamsFromWeigthMap(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { FCParams } from '../common';
|
||||
import { FCParams } from '../common/index';
|
||||
|
||||
export type NetParams = {
|
||||
fc: FCParams
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
import { normalize } from '../ops';
|
||||
import { normalize } from '../ops/index';
|
||||
import { convDown } from './convLayer';
|
||||
import { extractParams } from './extractParams';
|
||||
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ConvParams, extractWeightsFactory, ExtractWeightsFunction, ParamMapping } from '../common';
|
||||
import { isFloat } from '../utils';
|
||||
import { ConvParams, extractWeightsFactory, ExtractWeightsFunction, ParamMapping } from '../common/index';
|
||||
import { isFloat } from '../utils/index';
|
||||
import { ConvLayerParams, NetParams, ResidualLayerParams, ScaleLayerParams } from './types';
|
||||
|
||||
function extractorsFactory(extractWeights: ExtractWeightsFunction, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, ParamMapping } from '../common';
|
||||
import { isTensor2D } from '../utils';
|
||||
import { disposeUnusedWeightTensors, extractWeightEntryFactory, ParamMapping } from '../common/index';
|
||||
import { isTensor2D } from '../utils/index';
|
||||
import { ConvLayerParams, NetParams, ResidualLayerParams, ScaleLayerParams } from './types';
|
||||
|
||||
function extractorsFactory(weightMap: any, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ConvParams } from '../common';
|
||||
import { ConvParams } from '../common/index';
|
||||
|
||||
export type ScaleLayerParams = {
|
||||
weights: tf.Tensor1D
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Gender } from '../ageGenderNet/types';
|
||||
import { isValidProbablitiy } from '../utils';
|
||||
import { isValidProbablitiy } from '../utils/index';
|
||||
|
||||
export type WithGender<TSource> = TSource & {
|
||||
gender: Gender
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { extendWithFaceDescriptor, WithFaceDescriptor } from '../factories/WithFaceDescriptor';
|
||||
import { WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { WithFaceLandmarks } from '../factories/WithFaceLandmarks';
|
||||
|
@ -61,7 +61,7 @@ export class ComputeSingleFaceDescriptorTask<
|
|||
|
||||
const parentResult = await this.parentTask
|
||||
if (!parentResult) {
|
||||
return
|
||||
return undefined;
|
||||
}
|
||||
const descriptor = await extractSingleFaceAndComputeResult<TSource, Float32Array>(
|
||||
parentResult,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { FaceLandmarks68 } from '../classes/FaceLandmarks68';
|
||||
import { extractFaces, extractFaceTensors, TNetInput } from '../dom';
|
||||
import { extractFaces, extractFaceTensors, TNetInput } from '../dom/index';
|
||||
import { FaceLandmark68Net } from '../faceLandmarkNet/FaceLandmark68Net';
|
||||
import { FaceLandmark68TinyNet } from '../faceLandmarkNet/FaceLandmark68TinyNet';
|
||||
import { WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
|
@ -79,7 +79,7 @@ export class DetectSingleFaceLandmarksTask<
|
|||
|
||||
const parentResult = await this.parentTask
|
||||
if (!parentResult) {
|
||||
return
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const { detection } = parentResult
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { extendWithFaceDetection, WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/SsdMobilenetv1Options';
|
||||
import { TinyFaceDetectorOptions } from '../tinyFaceDetector/TinyFaceDetectorOptions';
|
||||
import { TinyYolov2Options } from '../tinyYolov2';
|
||||
import { TinyYolov2Options } from '../tinyYolov2/index';
|
||||
import { ComposableTask } from './ComposableTask';
|
||||
import { DetectAllFaceLandmarksTask, DetectSingleFaceLandmarksTask } from './DetectFaceLandmarksTasks';
|
||||
import { nets } from './nets';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { FaceMatch } from '../classes/FaceMatch';
|
||||
import { LabeledFaceDescriptors } from '../classes/LabeledFaceDescriptors';
|
||||
import { euclideanDistance } from '../euclideanDistance';
|
||||
import { WithFaceDescriptor } from '../factories';
|
||||
import { WithFaceDescriptor } from '../factories/index';
|
||||
|
||||
export class FaceMatcher {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { AgeAndGenderPrediction } from '../ageGenderNet/types';
|
||||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { extendWithAge, WithAge } from '../factories/WithAge';
|
||||
import { WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { WithFaceLandmarks } from '../factories/WithFaceLandmarks';
|
||||
|
@ -63,7 +63,7 @@ export class PredictSingleAgeAndGenderTask<
|
|||
|
||||
const parentResult = await this.parentTask
|
||||
if (!parentResult) {
|
||||
return
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const { age, gender, genderProbability } = await extractSingleFaceAndComputeResult<TSource, AgeAndGenderPrediction>(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { FaceExpressions } from '../faceExpressionNet/FaceExpressions';
|
||||
import { WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { extendWithFaceExpressions, WithFaceExpressions } from '../factories/WithFaceExpressions';
|
||||
|
@ -61,7 +61,7 @@ export class PredictSingleFaceExpressionsTask<
|
|||
|
||||
const parentResult = await this.parentTask
|
||||
if (!parentResult) {
|
||||
return
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const faceExpressions = await extractSingleFaceAndComputeResult<TSource, FaceExpressions>(
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { TNetInput } from '../dom';
|
||||
import { WithFaceDescriptor, WithFaceDetection, WithFaceLandmarks } from '../factories';
|
||||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1';
|
||||
import { ITinyYolov2Options, TinyYolov2Options } from '../tinyYolov2';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { WithFaceDescriptor, WithFaceDetection, WithFaceLandmarks } from '../factories/index';
|
||||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/index';
|
||||
import { ITinyYolov2Options, TinyYolov2Options } from '../tinyYolov2/index';
|
||||
import { detectAllFaces } from './detectFaces';
|
||||
|
||||
// export allFaces API for backward compatibility
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/SsdMobilenetv1Options';
|
||||
import { DetectAllFacesTask, DetectSingleFaceTask } from './DetectFacesTasks';
|
||||
import { FaceDetectionOptions } from './types';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { extractFaces, extractFaceTensors, TNetInput } from '../dom';
|
||||
import { extractFaces, extractFaceTensors, TNetInput } from '../dom/index';
|
||||
import { WithFaceDetection } from '../factories/WithFaceDetection';
|
||||
import { isWithFaceLandmarks, WithFaceLandmarks } from '../factories/WithFaceLandmarks';
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import { AgeAndGenderPrediction } from '../ageGenderNet/types';
|
|||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { FaceLandmarks5 } from '../classes/FaceLandmarks5';
|
||||
import { FaceLandmarks68 } from '../classes/FaceLandmarks68';
|
||||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { FaceExpressionNet } from '../faceExpressionNet/FaceExpressionNet';
|
||||
import { FaceExpressions } from '../faceExpressionNet/FaceExpressions';
|
||||
import { FaceLandmark68Net } from '../faceLandmarkNet/FaceLandmark68Net';
|
||||
|
@ -15,7 +15,7 @@ import { SsdMobilenetv1 } from '../ssdMobilenetv1/SsdMobilenetv1';
|
|||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/SsdMobilenetv1Options';
|
||||
import { TinyFaceDetector } from '../tinyFaceDetector/TinyFaceDetector';
|
||||
import { TinyFaceDetectorOptions } from '../tinyFaceDetector/TinyFaceDetectorOptions';
|
||||
import { ITinyYolov2Options, TinyYolov2 } from '../tinyYolov2';
|
||||
import { ITinyYolov2Options, TinyYolov2 } from '../tinyYolov2/index';
|
||||
|
||||
export const nets = {
|
||||
ssdMobilenetv1: new SsdMobilenetv1(),
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { TNetInput } from '../dom';
|
||||
import { TNetInput } from '../dom/index';
|
||||
import { SsdMobilenetv1Options } from '../ssdMobilenetv1/SsdMobilenetv1Options';
|
||||
import { TinyFaceDetectorOptions } from '../tinyFaceDetector/TinyFaceDetectorOptions';
|
||||
import { TinyYolov2Options } from '../tinyYolov2';
|
||||
import { TinyYolov2Options } from '../tinyYolov2/index';
|
||||
|
||||
export type FaceDetectionOptions = TinyFaceDetectorOptions | SsdMobilenetv1Options | TinyYolov2Options
|
||||
|
||||
|
|
14
src/index.ts
14
src/index.ts
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../dist/tfjs.esm.js';
|
||||
import * as draw from './draw';
|
||||
import * as utils from './utils';
|
||||
import * as draw from './draw/index';
|
||||
import * as utils from './utils/index';
|
||||
export { tf, draw, utils };
|
||||
|
||||
export * from './ageGenderNet/index';
|
||||
|
@ -23,12 +23,4 @@ export * from './resizeResults';
|
|||
import * as pkg from '../package.json';
|
||||
const node = (typeof process !== 'undefined');
|
||||
const browser = (typeof navigator !== 'undefined') && (typeof navigator.userAgent !== 'undefined');
|
||||
export const version = { faceapi: pkg.version, node, browser };
|
||||
|
||||
// import { PlatformBrowser } from './Platform';
|
||||
// if (!tf.env().platform && tf.env().get('IS_BROWSER')) tf.env().setPlatform('browser', new PlatformBrowser);
|
||||
// tf.setBackend('cpu');
|
||||
|
||||
// import {MathBackendCPU} from '@tensorflow/tfjs-backend-cpu/dist/backend_cpu.js';
|
||||
// export {MathBackendCPU};
|
||||
// tf.registerBackend('cpu', () => new MathBackendCPU(), 1 /* priority */);
|
||||
export const version = { faceapi: pkg.version as string, node, browser };
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { BoundingBox, IPoint } from '../classes';
|
||||
import { BoundingBox, IPoint } from '../classes/index';
|
||||
|
||||
export function minBbox(pts: IPoint[]): BoundingBox {
|
||||
const xs = pts.map(pt => pt.x)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Dimensions, IDimensions } from './classes';
|
||||
import { Dimensions, IDimensions } from './classes/index';
|
||||
import { FaceDetection } from './classes/FaceDetection';
|
||||
import { FaceLandmarks } from './classes/FaceLandmarks';
|
||||
import { extendWithFaceDetection, isWithFaceDetection } from './factories/WithFaceDetection';
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { Rect } from '../classes';
|
||||
import { Rect } from '../classes/index';
|
||||
import { FaceDetection } from '../classes/FaceDetection';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom';
|
||||
import { NetInput, TNetInput, toNetInput } from '../dom/index';
|
||||
import { NeuralNetwork } from '../NeuralNetwork';
|
||||
import { extractParams } from './extractParams';
|
||||
import { extractParamsFromWeigthMap } from './extractParamsFromWeigthMap';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { convLayer } from '../common';
|
||||
import { convLayer } from '../common/index';
|
||||
import { BoxPredictionParams } from './types';
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ExtractWeightsFunction, ParamMapping, ConvParams, extractWeightsFactory } from '../common';
|
||||
import { ExtractWeightsFunction, ParamMapping, ConvParams, extractWeightsFactory } from '../common/index';
|
||||
import { MobileNetV1, NetParams, PointwiseConvParams, PredictionLayerParams } from './types';
|
||||
|
||||
function extractorsFactory(extractWeights: ExtractWeightsFunction, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ConvParams, disposeUnusedWeightTensors, extractWeightEntryFactory, ParamMapping } from '../common';
|
||||
import { isTensor3D } from '../utils';
|
||||
import { ConvParams, disposeUnusedWeightTensors, extractWeightEntryFactory, ParamMapping } from '../common/index';
|
||||
import { isTensor3D } from '../utils/index';
|
||||
import { BoxPredictionParams, MobileNetV1, NetParams, PointwiseConvParams, PredictionLayerParams } from './types';
|
||||
|
||||
function extractorsFactory(weightMap: any, paramMappings: ParamMapping[]) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as tf from '@tensorflow/tfjs'
|
||||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
export function nonMaxSuppression(
|
||||
boxes: tf.Tensor2D,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as tf from '../../dist/tfjs.esm.js';
|
||||
|
||||
import { ConvParams } from '../common';
|
||||
import { ConvParams } from '../common/index';
|
||||
|
||||
export type PointwiseConvParams = {
|
||||
filters: tf.Tensor4D
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue