0.0.6 • Published 2 years ago

vision-camera-opencv-qrcode-parser v0.0.6

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

vision-camera-opencv-qrcode-parser

React Native Vision Camera Frame Processor Plugin of OpenCV QR Parser

Installation

npm install vision-camera-opencv-qrcode-parser

Usage

const frameProcessor = useFrameProcessor((frame) => {
  "worklet";
  const values = qrcodeProcessorPlugin(frame);
  console.log(`frameProcessor Return Values: ${JSON.stringify(values)}`);
}, []);

Add this in babel.config.js

module.exports = {
  ...
  plugins: [
    ...
    [
      "react-native-reanimated/plugin",
      {
        globals: [ "__qrcode_processor_plugin" ]
      }
    ]
  ],
};

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.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago