a7medev / react-native-ml-kit

React Native On-Device Machine Learning w/ Google ML Kit
MIT License
424 stars 58 forks source link

[feature-request] Base64 String Scanning instead of Local File #50

Open johnernest02-automanager opened 8 months ago

johnernest02-automanager commented 8 months ago

Is there a way to have the input value as a Base64 string instead of a local file? If so, utiliing the frame cropping plugin from vision-camera we can implement a real-time recognition of multiple object, I currently am trying to implement recognition of both barcodes and text-recognition using both your plugins. But I am hindered by the fact that the user needs to click on a button to capture an image, I want to do it real time without pushing any button. Any guidance will be greatly appreciated

TuranBurakk commented 7 months ago

Hello, did you find a solution for this?

johnernest02-automanager commented 7 months ago

No I haven't. What I did was I set the framescanner to process only once per second and clear the cache continuously