React PoseNet
React PoseNet is a handy wrapper component for tfjs-models/posenet
Documentation
https://react-posenet.yoyota.dev
Example
Installation
npm install --save react-posenet
Usage
import PoseNet from "react-posenet"
export default function App() {
return <PoseNet />
}
Core Feautres
onEstimate
gets called after estimation. poses is a passed parameter
input
the input image to feed through the network. see
tfjs-posenet document
If input is not specified react-posenet try to getUserMedia