Skip to content

kherrick/x-face-detector

Repository files navigation

<x-face-detector>

About

Detecting faces with TensorFlow.js.

Installation

npm i git+https://github.com/kherrick/x-face-detector.git#semver:^1.4.2

Usage

<x-face-detector
  imgurl="https://avatars3.githubusercontent.com/u/3065761"
  wasmpath="node_modules/@tensorflow/tfjs-backend-wasm/dist/tfjs-backend-wasm.wasm"
>
  loading...
</x-face-detector>
<script
  type="module"
  src="node_modules/x-face-detector/dist/XFaceDetector.js"
>
</script>

Examples