0.4.1 • Published 9 months ago

vision-camera-plugin-animal-pose v0.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

vision-camera-plugin-animal-pose

detect animal poses in react native (ios only)

Installation

npm i -S vision-camera-plugin-animal-pose

Add the plugin to your babel.config.js:

module.exports = {
  plugins: [
    [
      'react-native-reanimated/plugin',
      {
        globals: ['__detectAnimals'],
      },
    ],

    // ...

Note: You have to restart metro-bundler for changes in the babel.config.js file to take effect.

Usage

import { detectAnimals } from "vision-camera-plugin-animal-pose";

// ...
const frameProcessor = useFrameProcessor((frame) => {
  'worklet';
  const animals = detectAnimals(frame);
}, []);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.4.1

9 months ago

0.4.0

9 months ago

0.3.0

9 months ago

0.2.0

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago