vision-camera-cs-card-reader
v1.0.9
Published
VisionCamera Frame Processor Plugin to label images using MLKit Vision
Downloads
52
Maintainers
Readme
vision-camera-cs-card-reader
A VisionCamera Frame Processor Plugin to indetify specific objects in image to create text out of the tumbstones.
Installation
npm install vision-camera-cs-card-reader
cd ios && pod installAdd the plugin to your babel.config.js:
module.exports = {
plugins: [
[
'react-native-reanimated/plugin',
{
globals: ['__findCard'],
},
],
// ...Note: You have to restart metro-bundler for changes in the
babel.config.jsfile to take effect.
Usage
import { findCard } from "vision-camera-cs-card-reader";
// ...
const frameProcessor = useFrameProcessor((frame) => {
'worklet';
const labels = findCard(frame);
}, []);Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
