UNPKG

@b8safe/react-native-safe

Version:
15 lines (13 loc) 503 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.b8SafeProcessor = b8SafeProcessor; var _reactNativeVisionCamera = require("react-native-vision-camera"); const plugin = _reactNativeVisionCamera.VisionCameraProxy.initFrameProcessorPlugin('b8SafeProcessor', {}); function b8SafeProcessor(frame) { 'worklet'; if (plugin == null) throw new Error('Failed to load Frame Processor Plugin!'); return plugin.call(frame); } //# sourceMappingURL=b8SafeProcessor.js.map