rodgomesc / vision-camera-ocr

VisionCamera Frame Processor Plugin that uses MLKit Text Recognition API to recognize text in any Latin-based character set
MIT License
19 stars 5 forks source link

Frame Processor threw an error: Property '__scanOCR' doesn't exist #2

Closed gary-cohen closed 2 years ago

gary-cohen commented 2 years ago

Hello.

When I try to initialize the vision-camera-ocr package per your example code I'm getting this error:

Frame Processor threw an error: Property '__scanOCR' doesn't exist

I am able to successfully load vision-camera-face-detector so I'm not sure if I'm doing something wrong or it's not currently supported on Android devices. I've also tried to run the example by itself and was able to run yarn and yarn example start without issue, but when running yarn example android or yarn example ios I get errors.

Thanks for any help.

gary-cohen commented 2 years ago

I see that your repo doesn't actually do anything yet (so I wrote my own ocr plugin). It would be nice if you mentioned that on your README and let the owner of the react-native-vision-camera that they shouldn't list this plugin yet. 🙏