Merge pull request #504 from justadudewhohacks/remove-tfjs-image-recognition-base
remove tfjs image recognition base
Showing
| ... | @@ -11,22 +11,16 @@ | ... | @@ -11,22 +11,16 @@ |
| "tsc": "tsc", | "tsc": "tsc", | ||
| "tsc-es6": "tsc --p tsconfig.es6.json", | "tsc-es6": "tsc --p tsconfig.es6.json", | ||
| "build": "rm -rf ./build && rm -rf ./dist && npm run rollup && npm run rollup-min && npm run tsc && npm run tsc-es6", | "build": "rm -rf ./build && rm -rf ./dist && npm run rollup && npm run rollup-min && npm run tsc && npm run tsc-es6", | ||
| "test": "karma start", | "test": "npm run test-browser && npm run test-node", | ||
| "test-browser": "karma start --single-run", | "test-browser": "karma start --single-run", | ||
| "test-node": "ts-node -r ./test/env.node.ts node_modules/jasmine/bin/jasmine --config=jasmine-node.js", | "test-node": "ts-node -r ./test/env.node.ts node_modules/jasmine/bin/jasmine --config=jasmine-node.js", | ||
| "test-all": "npm run test-browser-exclude-uncompressed && npm run test-node-exclude-uncompressed", | |||
| "test-all-include-uncompressed": "npm run test-browser && npm run test-node", | |||
| "test-facelandmarknets": "set UUT=faceLandmarkNet&& karma start", | "test-facelandmarknets": "set UUT=faceLandmarkNet&& karma start", | ||
| "test-facerecognitionnet": "set UUT=faceRecognitionNet&& karma start", | "test-facerecognitionnet": "set UUT=faceRecognitionNet&& karma start", | ||
| "test-agegendernet": "set UUT=ageGenderNet&& karma start", | "test-agegendernet": "set UUT=ageGenderNet&& karma start", | ||
| "test-ssdmobilenetv1": "set UUT=ssdMobilenetv1&& karma start", | "test-ssdmobilenetv1": "set UUT=ssdMobilenetv1&& karma start", | ||
| "test-tinyfacedetector": "set UUT=tinyFaceDetector&& karma start", | "test-tinyfacedetector": "set UUT=tinyFaceDetector&& karma start", | ||
| "test-globalapi": "set UUT=globalApi&& karma start", | "test-globalapi": "set UUT=globalApi&& karma start", | ||
| "test-mtcnn": "set UUT=mtcnn&& karma start", | |||
| "test-cpu": "set BACKEND_CPU=true&& karma start", | "test-cpu": "set BACKEND_CPU=true&& karma start", | ||
| "test-exclude-uncompressed": "set EXCLUDE_UNCOMPRESSED=true&& karma start", | |||
| "test-browser-exclude-uncompressed": "set EXCLUDE_UNCOMPRESSED=true&& karma start --single-run", | |||
| "test-node-exclude-uncompressed": "set EXCLUDE_UNCOMPRESSED=true&& npm run test-node", | |||
| "docs": "typedoc --options ./typedoc.config.js ./src" | "docs": "typedoc --options ./typedoc.config.js ./src" | ||
| }, | }, | ||
| "keywords": [ | "keywords": [ | ||
| ... | @@ -40,7 +34,6 @@ | ... | @@ -40,7 +34,6 @@ |
| "license": "MIT", | "license": "MIT", | ||
| "dependencies": { | "dependencies": { | ||
| "@tensorflow/tfjs-core": "1.2.9", | "@tensorflow/tfjs-core": "1.2.9", | ||
| "tfjs-image-recognition-base": "^0.6.2", | |||
| "tslib": "^1.10.0" | "tslib": "^1.10.0" | ||
| }, | }, | ||
| "devDependencies": { | "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
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/ops/index.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/ops/iou.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/ops/nonMaxSuppression.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/ops/normalize.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/ops/padToSquare.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/ops/shuffleArray.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/tinyYolov2/TinyYolov2Base.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/TinyYolov2Options.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/config.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/tinyYolov2/convWithBatchNorm.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/depthwiseSeparableConv.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/extractParams.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/extractParamsFromWeigthMap.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/tinyYolov2/leaky.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/tinyYolov2/types.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/utils/index.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/NeuralNetwork.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/data/boxes.json
0 → 100644
This diff is collapsed.
Click to expand it.
test/data/dummy.weights
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/images/white.png
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/tests/classes/BoundingBox.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/classes/Box.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/classes/Rect.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/common/getModelUris.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/dom/NetInput.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/dom/fetchImage.browser.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/dom/fetchJson.browser.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/tests/dom/fetchOrThrow.browser.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/dom/toNetInput.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/tests/ops/iou.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
test/tests/ops/padToSquare.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/utils/index.test.ts
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment