@b8safe/react-native-safe
Version:
Package for native integration of B8Safe SDK
15 lines (13 loc) • 503 B
JavaScript
;
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