copy contents of tfjs-image-recognition-base to face-api.js + remove dependency
Showing
| ... | ... | @@ -40,7 +40,6 @@ |
| "license": "MIT", | ||
| "dependencies": { | ||
| "@tensorflow/tfjs-core": "1.2.9", | ||
| "tfjs-image-recognition-base": "^0.6.2", | ||
| "tslib": "^1.10.0" | ||
| }, | ||
| "devDependencies": { | ||
| ... | ... |
src/NeuralNetwork.ts
0 → 100644
src/classes/BoundingBox.ts
0 → 100644
src/classes/Box.ts
0 → 100644
src/classes/Dimensions.ts
0 → 100644
src/classes/LabeledBox.ts
0 → 100644
src/classes/ObjectDetection.ts
0 → 100644
src/classes/Point.ts
0 → 100644
src/classes/PredictedBox.ts
0 → 100644
src/classes/Rect.ts
0 → 100644
src/common/convLayer.ts
0 → 100644
src/common/disposeUnusedWeightTensors.ts
0 → 100644
src/common/extractConvParamsFactory.ts
0 → 100644
src/common/extractFCParamsFactory.ts
0 → 100644
src/common/extractWeightEntryFactory.ts
0 → 100644
src/common/extractWeightsFactory.ts
0 → 100644
src/common/getModelUris.ts
0 → 100644
src/common/index.ts
0 → 100644
src/common/types.ts
0 → 100644
src/dom/NetInput.ts
0 → 100644
src/dom/awaitMediaLoaded.ts
0 → 100644
src/dom/bufferToImage.ts
0 → 100644
src/dom/createCanvas.ts
0 → 100644
src/dom/fetchImage.ts
0 → 100644
src/dom/fetchJson.ts
0 → 100644
src/dom/fetchNetWeights.ts
0 → 100644
src/dom/fetchOrThrow.ts
0 → 100644
src/dom/getContext2dOrThrow.ts
0 → 100644
src/dom/getMediaDimensions.ts
0 → 100644
src/dom/imageTensorToCanvas.ts
0 → 100644
src/dom/imageToSquare.ts
0 → 100644
src/dom/isMediaElement.ts
0 → 100644
src/dom/isMediaLoaded.ts
0 → 100644
src/dom/loadWeightMap.ts
0 → 100644
src/dom/matchDimensions.ts
0 → 100644
src/dom/resolveInput.ts
0 → 100644
src/dom/toNetInput.ts
0 → 100644
src/dom/types.ts
0 → 100644
src/draw/DrawBox.ts
0 → 100644
src/draw/DrawTextField.ts
0 → 100644
src/env/createBrowserEnv.ts
0 → 100644
src/env/createFileSystem.ts
0 → 100644
src/env/createNodejsEnv.ts
0 → 100644
src/env/index.ts
0 → 100644
src/env/isBrowser.ts
0 → 100644
src/env/isNodejs.ts
0 → 100644
src/env/types.ts
0 → 100644
src/ops/index.ts
0 → 100644
src/ops/iou.ts
0 → 100644
src/ops/nonMaxSuppression.ts
0 → 100644
src/ops/normalize.ts
0 → 100644
src/ops/padToSquare.ts
0 → 100644
src/ops/shuffleArray.ts
0 → 100644
src/tinyYolov2/TinyYolov2Base.ts
0 → 100644
src/tinyYolov2/TinyYolov2Options.ts
0 → 100644
src/tinyYolov2/config.ts
0 → 100644
src/tinyYolov2/convWithBatchNorm.ts
0 → 100644
src/tinyYolov2/depthwiseSeparableConv.ts
0 → 100644
src/tinyYolov2/extractParams.ts
0 → 100644
src/tinyYolov2/extractParamsFromWeigthMap.ts
0 → 100644
src/tinyYolov2/leaky.ts
0 → 100644
src/tinyYolov2/types.ts
0 → 100644
src/utils/index.ts
0 → 100644
test/NeuralNetwork.test.ts
0 → 100644
test/data/boxes.json
0 → 100644
test/data/dummy.weights
0 → 100644
File added
test/images/white.png
0 → 100644
450 Bytes
test/tests/classes/BoundingBox.test.ts
0 → 100644
test/tests/classes/Box.test.ts
0 → 100644
test/tests/classes/Rect.test.ts
0 → 100644
test/tests/common/getModelUris.test.ts
0 → 100644
test/tests/dom/NetInput.test.ts
0 → 100644
test/tests/dom/fetchImage.browser.test.ts
0 → 100644
test/tests/dom/fetchJson.browser.test.ts
0 → 100644
test/tests/dom/fetchOrThrow.browser.test.ts
0 → 100644
test/tests/dom/toNetInput.test.ts
0 → 100644
test/tests/ops/iou.test.ts
0 → 100644
test/tests/ops/padToSquare.test.ts
0 → 100644
test/utils/index.test.ts
0 → 100644