This may be a crazy question but I've seen done with apps. Is there any kind of API that can be used to recognition the text within an image (the way chase recognizes numbers on a check) OR, is there an API that can be used to search (lets say google) for information based off an image? Example would be if I took a picture of a business logo, google will search for a business listing that fits that logo?
I know crazy question but I want to know if it can even be done. If it can, can it be used with React Native? Thanks!
Heres's a simple example of how to use it: import RNMlKit from 'react-native-firebase-mlkit'; export class textRecognition extends Component { ... async takePicture() { if (this. camera) { const options = { quality: 0.5, base64: true, skipProcessing: true, forceUpOrientation: true }; const data = await this.
If you want to add a text to an image you can use: react-native-media-editor. This is quite a good option for adding text to an image but I recommend you react-native-image-tools. It provides so much flexibility. You can add a text and position it accordingly.
The React Native Tesseract package only supports Android. iOS support is pending but no timeline when it will be done.
The pure Javascript implementation of Tesseract would offer cross-platform support in React Native. http://tesseract.projectnaptha.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With