UNPKG

@timebutt/face-api.js

Version:

JavaScript API for face detection and face recognition in the browser with tensorflow.js

58 lines (57 loc) 2.12 kB
{ "name": "@timebutt/face-api.js", "version": "0.23.2", "description": "JavaScript API for face detection and face recognition in the browser with tensorflow.js", "module": "./build/es6/index.js", "main": "./build/commonjs/index.js", "typings": "./build/commonjs/index.d.ts", "scripts": { "rollup-min": "rollup -c rollup.config.js --environment minify:true", "rollup": "rollup -c rollup.config.js", "tsc": "tsc", "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", "test": "npm run test-browser && npm run test-node", "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-facelandmarknets": "set UUT=faceLandmarkNet&& karma start", "test-facerecognitionnet": "set UUT=faceRecognitionNet&& karma start", "test-agegendernet": "set UUT=ageGenderNet&& karma start", "test-ssdmobilenetv1": "set UUT=ssdMobilenetv1&& karma start", "test-tinyfacedetector": "set UUT=tinyFaceDetector&& karma start", "test-globalapi": "set UUT=globalApi&& karma start", "test-cpu": "set BACKEND_CPU=true&& karma start", "docs": "typedoc --options ./typedoc.config.js ./src" }, "keywords": [ "face", "detection", "recognition", "tensorflow", "tf" ], "author": "justadudewhohacks", "license": "MIT", "dependencies": { "@tensorflow/tfjs-core": "^4.0.0", "tslib": "^2.5.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", "@tensorflow/tfjs-node": "^4.0.0", "@types/jasmine": "^3.5.9", "@types/node": "^13.9.2", "canvas": "^2.11.0", "jasmine": "^3.5.0", "jasmine-core": "^3.5.0", "karma": "^4.4.1", "karma-chrome-launcher": "^3.1.0", "karma-jasmine": "^3.1.1", "karma-typescript": "^5.0.1", "rollup": "^2.68.0", "ts-node": "^8.7.0", "typescript": "~4.9.5" } }