Closed mattijsf closed 9 months ago
Example:
const frameProcessor = useFrameProcessor(frame => { "worklet" const scannedBarcodes = scanCodes(frame, { barcodeTypes: ["aztec", "qr"], }) console.log(JSON.stringify(scannedBarcodes, null, 2)) }, [])
JS log:
LOG Loading react-native-worklets-core... LOG Worklets loaded successfully ERROR Frame Processor Error: Exception in HostFunction: , js engine: VisionCamera
Native Log:
2024-01-18 14:34:48.333171+0100 Tripps[4728:270063] -[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x282277320 2024-01-18 14:34:48.370611+0100 Tripps[4728:269682] [javascript] Frame Processor Error: Exception in HostFunction: , js engine: VisionCamera
Example:
JS log:
Native Log: