[PAID] MlTBRek: Offline Text and Barcode recognition using ML Kit [$8 or 551]

hi @vknow360
The issue with the app closing stems from two extensions in the custom webview: DownloadHelper and BrowserPromptHelper. The app includes ML Kit.

Specifically, adding certain blocks in DownloadHelper causes the app to close immediately upon opening.

Moreover, including BrowserPromptHelper and DownloadHelper (without configuring any blocks) leads to an app package error, preventing installation.

This occurs on Android 14 devices. I previously encountered this on my Android 13 version.

Would you be able to check these two extensions?

Did you check beta version (13) ?

1 Like

That's awesome. The issue has been resolved in this beta version 13

Hu Sunny, could you please share also with me the beta version 13. My old app is crashing using the CheckModulesAvailabity on an Android 15 device and i'd like to upgrade my MITBRek.AIX version (recieved from you on 29/08/24). Thanks

Hi, all versions are in the drive folder.

Hi Sunny,
I found the reason for the crash. Unintentionally, I changed the license key in the project, which caused the crash. It seems useful to add the related error message to the extension.
Thank you for your quick response!
P.S. Restoring the correct license key resolved the issue, and everything is working now.

ChangeLog Version 4.1

  • Online images can also be used now

Simply pass the image url.

Input:
image

Result:

ChangeLog Version 5

  • Architectural Modularization Split the monolithic extension into three specialized components (BarcodeRecognizer, TextRecognizer, MlModules) to keep your projects clean and reduce overhead.

  • New Live Camera Scanner Added full support for continuous live barcode scanning through a camera preview (SetPreviewContainer, StartScanner, StopScanner blocks).

  • Added CloseRecognizer methods to give you explicit control over freeing up ML Kit resources.

2 Likes

Is it possible for the live camera scanner to recognize text and detect license plates?

No.

The reason is the ambiguity involved. I'm hesitant to implement it because, unlike barcode scanning, text recognition doesn't have a well-defined endpoint.

With barcodes, the scanner knows exactly when a code has been detected and decoded. With text recognition, however, moving the camera even slightly up or down can completely change the recognized text, making it unclear when the recognition should be considered "final."

Thanks for the reply. It doesn’t have to be real “live” recognition. The app could simply take a picture by itself every second (or however long the text recognition takes) and read the text from it.