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

1. Introduction

Description: Using this extension you can recognize text from image and scan barcodes from file completely offline.
Latest Version: 2
Released: 2023-09-02T18:30:00Z
Last Updated: 2023-10-25T18:30:00Z
Aix Size: ~ 1.1mb

2. Blocks

image

3. Docs

Events

DepsInstalled Event raised when deps have been installed
type | text
DepsDownloadFailed Event raised when deps downloading failed
type | text
errorMsg | text
DepsDownloadProgress Event raised when deps downloading progress changes
type | text
progress | number
RecognisedText Event raised after getting text from image
text | text
blocksList | list
UrlScanned Event raised if url was found in barcode
title | text
url | text
ContactInfoScanned Event raised if contact info was found in barcode
address | text
email | text
name | text
orgName | text
phone | text
title | text
urls | text
EmailScanned Event raised if email was found in barcode
address | text
body | text
subject | text
type | number
WifiScanned Event raised if wifi info was found in barcode
ssid | text
pswd | text
encryptionType | number
GeoPointScanned Event raised if geo points were found in barcode
lat | number
lon | number
BarcodeScanned Event raised when no specific type of barcode was found and given barcode was decoded in general
rawValue | text
barFormat | number
displayValue | text
BarRecognitionFailed Event raised if barcode scanning failed
errorMsg | text
TextRecognitionFailed Event raised if text recognition failed
errorMsg | text

Methods

IsTextRekOperational
IsBarRekOperational
InitTextRecognizer Initialize Text Recognizer
InstallDeps Install deps of given type
type | text
RecogniseText Tries to recognize test from given input that can be an Image component, file path or content uri
image | any
InitBarRecognizer Initializes Barcode recognizer/scanner
RecogniseBarcode Tries to decode barcode from given input which can be an Image component, file path or content uri
image | any

Properties

BarRecognitionDeps
Property Type : read-only
Accepts : text
TextRecognitionDeps
Property Type : read-only
Accepts : text

4. Usages

Make Recognizers ready to be used

Check deps availability

Text Recognisation
First initialize recogniser.
image

Then provide input image to RecogniseText block.
image

image

RecognisedText event will be raised with result if recognition was successful otherwise TextRecognitionFailed event will be raised with error message.
image
blocksList is a list of blocks. Each block is a list of lines.

image

Supported Languages: All Latin based languages including but not limited to

  • Catalan
  • Danish
  • Dutch
  • English
  • Finnish
  • French
  • German
  • Hungarian
  • Italian
  • Latin
  • Norwegian
  • Polish
  • Portugese
  • Romanian
  • Spanish
  • Swedish
  • Tagalog
  • Turkish

+

Some Devanagari Script languages

  • Hindi
  • Marathi
  • Nepali
  • Sanskrit

Barcode Recognition

Initialize Barcode recogniser.
image

Then provide input image to RecogniseBarcode block.
image

Result will be delivered via different events based upon type of barcode.

It reads the following barcode formats:

It automatically parses QR Codes, Data Matrix, PDF-417, and Aztec values, for the following supported formats:

  • URL
  • Contact information (VCARD, etc.)
  • WiFi
  • Geo-location (latitude and longitude)

more will be added on demand.

5. Purchase

Paypal:

Upi:
vknow360@apl

Thank you.
Hope it helps!

4 Likes

Is it possible to read license plates?
here in Brazil, the signs (image attached) have information about the city and state.
How can I not read this information?
placas

Yes it can.

I can provide a demo apk if you want.

1 Like

Provide Apk We Will Test

Tested and Extension works fine

1 Like

Beta testing for upcoming version has been started.
So, ML Kit upgrade on the way within a month.
I am by far the laziest extension developer. :joy:

Please send me Beta version

You already have.
The one I sent you for Tamil text recognition and it didn't work due to Tamil not supported.

Oh, i think another new version with Tamil support also available.

Tamil is not supported unfortunately.

Oh it's ok,

any new version update send me after released

ChangeLog Version 2 :warning:

  • Rename extension to MlTBRek from SimpleRecognition

  • Some new blocks added and few blocks removed

  • Upgrade to ML Kit
    Brings dynamic deps management and thus effectively reducing aix size to just 1.1mb

  • Major internal changes wherever there was room for improvement
    Like support for Hindi and other Devanagari Script langs

  • Recognise blocks can accept Image component, File Path or Content Uri

  • Completely offline purchase verification

where can i download or purchase

After sending 8$ to below link

DM @vknow360 to get the extension

2 Likes

Hi, can you send me Demo APK.