@the-horizon-dev/fast-face-detection
Version:
Fast face detection package using TensorFlow.js MediaPipe models for browser and Node.js environments
94 lines (93 loc) • 3.08 kB
JSON
{
"name": "@the-horizon-dev/fast-face-detection",
"version": "1.0.3",
"description": "Fast face detection package using TensorFlow.js MediaPipe models for browser and Node.js environments",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist",
"README.md"
],
"sideEffects": [
"**/tensorflow-utils.ts",
"**/*tensorflow*.js"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "npm run test:unit && npm run test:unit-jsdom && npm run test:integration",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.mjs --selectProjects unit",
"test:unit-jsdom": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.mjs --selectProjects unit-jsdom",
"test:integration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.mjs --selectProjects integration",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.mjs --watch",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config=jest.config.mjs --coverage",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"keywords": [
"face-detection",
"face-landmarks",
"tensorflow",
"mediapipe",
"blazeface",
"face-mesh",
"typescript",
"browser",
"node"
],
"author": "The Horizon Dev",
"license": "MIT",
"dependencies": {
"@tensorflow-models/face-detection": "^1.0.3",
"@tensorflow-models/face-landmarks-detection": "^1.0.6",
"@tensorflow/tfjs-backend-cpu": "^4.22.0",
"@tensorflow/tfjs-backend-webgl": "^4.22.0",
"@tensorflow/tfjs-converter": "^4.22.0",
"@tensorflow/tfjs-core": "^4.22.0"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@jest/globals": "^29.7.0",
"@types/isomorphic-fetch": "^0.0.39",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.0",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"canvas": "^2.11.2",
"eslint": "^9.24.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.3",
"rollup": "^4.39.0",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.3.1",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@tensorflow/tfjs-node": "^4.22.0"
},
"peerDependenciesMeta": {
"@tensorflow/tfjs-node": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/the-horizon-dev/fast-face-detection.git"
},
"bugs": {
"url": "https://github.com/the-horizon-dev/fast-face-detection/issues"
},
"homepage": "https://github.com/the-horizon-dev/fast-face-detection#readme"
}