The Frame processor plugin for detecting pose using Google ML Kit library for react-native-vision-camera with high performance.
npm install react-native-vision-camera-v3-pose-detection
The Frame processor plugin for detecting pose using Google ML Kit library for react-native-vision-camera with high performance.
react-native-vision-camera => 3.9.0
react-native-worklets-core = 0.4.0
``sh`
yarn add react-native-vision-camera-v3-pose-detection
npm install react-native-vision-camera-v3-pose-detection
`js
import { Camera } from 'react-native-vision-camera-v3-pose-detection';
const [pose,setPose] = useState(null)
console.log(pose)
options={{
mode: "stream",
performanceMode:"max"
}}
style={StyleSheet.absoluteFill}
device={device}
callback={(data) => setPose(data)}
{...props}
/>
``
---
| Name | Type | Values | Default |
| :---: | :---: |:--------------:|:-------:|
| mode | string | stream, single | stream |
| performanceMode | string | min, max | min |