Better solution: https://www.b4x.com/android/forum/threads/160725/#content This is not really a library. It is a modification to CameraEx example that adds barcode detection based on Google Play Services Vision. It uses JavaObject to create the detector and detect barcodes in the Preview event...
I have been a VB6 developer since 1975.
In 2013 I tried B4A for a month, found it quite difficult, and then left this forum for about 7 years.
I came back recently as I need to integrate my VB6 desktop applications with phone apps to allow our site personnel to tap into our main database online to keep track of tasks, messages and payments.
The learning curve of B4A as a transform from VB6 is steep, but I will get there one day.
Sorry again.