vision-camera-base64-v3
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

vision-camera-base64-v3

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-base64-v3

Usage

import { toBase64 } from 'vision-camera-base64-v3';

// ...
const process = useFrameProcessor((frame) => {
    'worklet'
    const imageAsBase64 = toBase64(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 💜

Package Sidebar

Install

npm i vision-camera-base64-v3

Weekly Downloads

6

Version

2.4.0

License

MIT

Unpacked Size

667 kB

Total Files

86

Last publish

Collaborators

  • shchipskii_yura