Lihang Xu

Results 194 comments of Lihang Xu

Seems related to this issue: https://github.com/mrousavy/react-native-vision-camera/issues/2845

A combination of the [camera preview plugin](https://github.com/tony-xlh/capacitor-plugin-camera-preview) and the [document scanning plugin](https://github.com/tony-xlh/capacitor-plugin-dynamsoft-document-normalizer) can be used to create a document scanner.

I turned to the Java version in the end.

I started an HTTP server in Java to communicate with a Python application. Here is the project: https://github.com/tony-xlh/Java-Barcode-Reader-Aggregator

Maybe related to Java version? ``` openjdk version "11.0.10" 2021-01-19 LTS OpenJDK Runtime Environment (build 11.0.10+9-LTS) OpenJDK 64-Bit Server VM (build 11.0.10+9-LTS, mixed mode) ```

What device are you using? This is more related to vision camera. Try to post issues at its repo.

I just tested it on a Samsung Galaxy A32 device with Android 13 and it works okay. How do you install the npm packages? I use `yarn`.

The project has been updated to Vision Camera v4 so I am closing this.

This camera plugin supports setting the width and height: https://github.com/xulihang/capacitor-plugin-camera . You can read barcodes by processing the base64 it outputs or using reflection to directly process the camera frame.

You can try other frame processor plugins: * vision-camera-zxing * vision-camera-dynamsoft-barcode-reader