capacitor-community/camera-preview

Work together with a barcode reader capacitor plugin

Closed this issue · 1 comments

Is your feature request related to a problem? Please describe.

To open the camera and start scanning barcodes.

Describe the solution you'd like

Install a third-party barcode reading plugin and then in the camera preview plugin's native side, use it to read barcodes.

Describe alternatives you've considered

Pass the frame as base64 to third-party plugins. But this may have a performance issue.

Additional context

I ended up using captureSample to pass the base64 to a third-party computer vision plugin.