Closed fdikmen closed 3 weeks ago
I don't think this will be possible with react-native-camera-kit. This package will not provide you with anything other than barcode scanning and capture photo.
You can scan barcodes by selecting them from the gallery with packages like rn-qr-generator. (for scan barcode), react-native-image-picker or react-native-camera-roll (select from gallery). These packages can generate and capture QR/Barcodes within themselves.
Thanks. I've already done what I wanted to do using rn-qr-generator. But the reason I'm writing here is why shouldn't such a feature be added to react-native-camera-kit?
@fdikmen The library is meant to generate input (data from the camera), not process input (qr scanning). There's no obvious way to feed in the QR scanning to a UI component, so it'd be an odd feature addition, sorry.
I can read BARCODE using your library. How can I do this on images in the gallery instead of live camera?
I mean how can I extract the barcode from an existing image?