Barcode reading

Discussions about CSEntry
Post Reply
AriSilva
Posts: 595
Joined: July 22nd, 2016, 3:55 pm

Barcode reading

Post by AriSilva »

Hi folks,
I´m using the barcode.read instruction, as in
string resultado = barcode.read("Entrevistador, faça a leitura do código de barras");
It works very well when the Tablet is connected to the internet, but my interviewers are claiming that it does not work if there is no internet connection.
Is that true?
Does it have any limitation in using the barcode instruction as far as the internect conection is concerned?
Best regarsd
Ari
Best
Ari
htuser
Posts: 632
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Barcode reading

Post by htuser »

This could be because CSPro barcode scanner function depend on Google Play libraries who're based on Google Machine Learning (ML)API (formerly Google Vision API) https://developers.google.com/ml-kit/vi ... e-scanning
https://developers.google.com/ml-kit/vi ... ng/android
And, improve the training of their ML algorithms and increase accuracy could be among reasons that Google require this internet connexion...

If you want standalone Barcode Scanner, I would suggest your to take a look on these JS implementations:
a) https://web.dev/mishipay/
b) https://github.com/mebjas/html5-qrcode
Best
G.VOLNY, a CSProuser from Haiti, since 2004
AriSilva
Posts: 595
Joined: July 22nd, 2016, 3:55 pm

Re: Barcode reading

Post by AriSilva »

Thanks, htuser,
I´ll have a look at your suggestions.
Best
Ari
Best
Ari
Post Reply