React Native Vision Camera Frame Processor Plugin of OpenCV QR Parser
npm install vision-camera-opencv-qrcode-parser
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" ]
}
]
],
};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library