1.0.8 • Published 3 years ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago