Hi, I have some problem using PhotoRecognizer function
this is how I called the function, but I got an error says "Error processing image" as I attached (The image uri is above). Please let me know if I'm missing something or doing it wrong. I'd really grateful for the help.
FYI, I'm using RN@0.76.8,
react-native-vision-camera@4.6.4,
react-native-vision-camera-text-recognition@3.1.1,
react-native-worklets-core@1.5.0
const pickImage = async () => {
try {
const img = await launchImageLibrary({mediaType: 'photo'})
const img_uri = img.assets[0].uri
console.log(img_uri)
const result = await PhotoRecognizer({
uri: img_uri
})
console.log("Result: ",result)
} catch (error) {
console.error(error)
}
}

and this is the image I selected to process

Hi, I have some problem using PhotoRecognizer function
this is how I called the function, but I got an error says "Error processing image" as I attached (The image uri is above). Please let me know if I'm missing something or doing it wrong. I'd really grateful for the help.
FYI, I'm using RN@0.76.8,
react-native-vision-camera@4.6.4,
react-native-vision-camera-text-recognition@3.1.1,
react-native-worklets-core@1.5.0
and this is the image I selected to process