vision-camera-opencv-qrcode-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

/vision-camera-opencv-qrcode-parser/

    Package Sidebar

    Install

    npm i vision-camera-opencv-qrcode-parser

    Weekly Downloads

    2

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    30.8 kB

    Total Files

    28

    Last publish

    Collaborators

    • iossocket