@b8safe/react-native-safe
Version:
Package for native integration of B8Safe SDK
11 lines (9 loc) • 371 B
JavaScript
;
import { VisionCameraProxy } from 'react-native-vision-camera';
const plugin = VisionCameraProxy.initFrameProcessorPlugin('b8SafeProcessor', {});
export function b8SafeProcessor(frame) {
'worklet';
if (plugin == null) throw new Error('Failed to load Frame Processor Plugin!');
return plugin.call(frame);
}
//# sourceMappingURL=b8SafeProcessor.js.map