mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.34k stars 1.07k forks source link

Using an image for scanning💭 #2553

Closed parice02 closed 7 months ago

parice02 commented 7 months ago

Question

I use react-native-vision-camera to scan barcodes and OCR from the camera. I would like to know if it is also possible to scan or OCR from an image imported from the gallery.

Best,

What I tried

No response

VisionCamera Version

3.8.2

Additional information

mrousavy commented 7 months ago

Hey - nope, not at the moment. We're planning something though.

xulihang commented 7 months ago

This is possible as long as the frame processor plugin also has an interface for decoding images.

You can check out this repo: https://github.com/tony-xlh/vision-camera-dynamsoft-barcode-reader