1.0.8 • Published 2 years ago

@psycheangel/vision-camera-object-detection v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vision-camera-object-detection

Getting started

$ npm install @psycheangel/vision-camera-object-detection --save

Mostly automatic installation

$ react-native link @psycheangel/vision-camera-object-detection

module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [
    [
      'react-native-reanimated/plugin',
      {
        globals: [ "__detectObject"],
      },
    ],
  ],
};

Usage

import {detectObject} from "vision-camera-object-detection";

// TODO: What to do with the module?
  const frameProcessor = useFrameProcessor((frame) => {
    'worklet';
   
      const values = detectObject(frame);
      console.log(values);
   
  }, []);
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago