vision-camera-pose-detection-imprecise
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

vision-camera-image-labeler

A VisionCamera Frame Processor Plugin to label images using MLKit Vision Image Labeling.

Installation

npm install vision-camera-image-labeler
cd ios && pod install

Add the plugin to your babel.config.js:

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

    // ...

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

Usage

import { labelImageImprecise } from "vision-camera-image-labeler-imprecise";

// ...

const frameProcessor = useFrameProcessor((frame) => {
  'worklet';
  const labels = labelImageImprecise(frame);
}, []);

Contributing

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

License

MIT

Package Sidebar

Install

npm i vision-camera-pose-detection-imprecise

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

62.7 kB

Total Files

37

Last publish

Collaborators

  • patrickdauelsberg