vision-camera-trustee-base64
A simple VisionCamera FrameProcessor plugin.
Convert the frame to base64 string format.
Note: This plugin is only string and not include data:image/blabla/;base64,
Installation
yarn add vision-camera-trustee-base64
Usage
import { frameToBase64 } from 'vision-camera-trustee-base64';
const process = useFrameProcessor((frame) => {
'worklet'
const imageAsBase64 = frameToBase64(frame)
}, [])
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 💜