Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image recognition for text in React Native

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!

like image 410
Mike Pisanchik Avatar asked Feb 25 '17 20:02

Mike Pisanchik


People also ask

How do I read text from an image in react-native?

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.

How do I put an image in text in react-native?

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.


1 Answers

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/

like image 121
pmont Avatar answered Sep 20 '22 17:09

pmont