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,
yarn add vision-camera-base64-v3
import { toBase64 } from 'vision-camera-base64-v3';
// ...
const process = useFrameProcessor((frame) => {
'worklet'
const imageAsBase64 = toBase64(frame)
}, [])
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library 💜