react-native-text-recognition icon indicating copy to clipboard operation
react-native-text-recognition copied to clipboard

"visionIgnoreThreshold" is not functioning in react-native-text-recognition

Open RN-Nitin opened this issue 1 year ago • 0 comments

I am using the react-native-text-recognition package in my React Native project. However, when I attempt to use the visionIgnoreThreshold property to filter out low-confidence text results, it does not seem to work, its giving an error

using it like this :-
const result = await TextRecognition.recognize(path, { visionIgnoreThreshold: 0.5, });

simulator_screenshot_BB9D9378-D860-479D-BC0A-DE631BC123A5

RN-Nitin avatar Sep 18 '24 09:09 RN-Nitin