{"_id":"@cunny-ai/face-detect","name":"@cunny-ai/face-detect","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@cunny-ai/face-detect","version":"0.0.1","description":"Face detection in the browser","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"dependencies":{"@cunny-ai/core":"0.0.1","@cunny-ai/provider-mediapipe":"0.0.1"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.5.0"},"license":"MIT","scripts":{"build":"tsup src/index.ts --format esm --dts --clean"},"_id":"@cunny-ai/face-detect@0.0.1","_integrity":"sha512-5b+f3QtonuoOYIYiauspurbQhAJBAvbF/rFopFAGyxOmSxu+qtXwrsH1p+YHzZ4CUz1HxuvftYHIhNLQpd8VzA==","_resolved":"/tmp/395514d53e8baea27d18b9b5f8901bb3/cunny-ai-face-detect-0.0.1.tgz","_from":"file:cunny-ai-face-detect-0.0.1.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-5b+f3QtonuoOYIYiauspurbQhAJBAvbF/rFopFAGyxOmSxu+qtXwrsH1p+YHzZ4CUz1HxuvftYHIhNLQpd8VzA==","shasum":"d9ef12ce87d946813e82a2bb1a7a391c819ef911","tarball":"https://registry.npmjs.org/@cunny-ai/face-detect/-/face-detect-0.0.1.tgz","fileCount":5,"unpackedSize":10495,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCGC7KtL9VjMib4LYX9DNxoMe0PRAReW4HIaGOPR99dpgIhAIsknGszsIXvbD6T2l3T7PCZPAQXr4m76y8iDflf9qe3"}]},"_npmUser":{"name":"hrnph","email":"hrnph@protonmail.com"},"directories":{},"maintainers":[{"name":"hrnph","email":"hrnph@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/face-detect_0.0.1_1787921549941_0.4440189987482954"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T12:52:29.735Z","0.0.1":"2026-08-28T12:52:30.092Z","modified":"2026-08-28T12:52:30.333Z"},"maintainers":[{"name":"hrnph","email":"hrnph@protonmail.com"}],"description":"Face detection in the browser","license":"MIT","readme":"# @cunny-ai/face-detect\n\nFace detection in the browser. Model: MediaPipe blazeface short range (Apache-2.0, ~450KB) via `@cunny-ai/provider-mediapipe`. Downloads on first use, then cached.\n\n```ts\nimport { detect } from '@cunny-ai/face-detect'\n\nconst { faces } = await detect(file) // Blob | File | URL | ImageBitmap | …\n// faces[0] = { score, box (px), normalized ([0,1]), keypoints[5] }\n\nimport { trackFaces } from '@cunny-ai/face-detect'\nconst stop = trackFaces(videoEl, (faces) => draw(faces), { fps: 24 })\n```\n\nMIT.\n","readmeFilename":"README.md","_rev":"1-f86c6cfa1185a32a1557fea6ef6782f6"}