Page 2 of 2

Re: Torino, Italy

Posted: Mon Jun 20, 2022 3:00 pm
by crokyweb
grazie jacque ma non trovo in Sample Stacks this Stack. Ripeto non capisco perchè il widget Barcode Scanner non possa funzionare anche per OSX e Windows tramite webcam o IP o USB . Credo che un qualsiasi dispositivo che acquisisca l'imagine vada bene. Poi avviene la parte di codifica e programmazione del barcode. La domanda è cosa manca a OSX o Windows per fare quello che fa Android !!
Perchè le librerie di Android Barcode Scanner non sono universali per qualsiasi piattaforma?

Re: Torino, Italy

Posted: Mon Jun 20, 2022 5:47 pm
by jacque
The question is what is missing in OSX or Windows to do what Android does !!
Barcode computation is built into mobile OSs, so LC only needs to call the API to get the result. Desktop OSs don't have that.

Re: Torino, Italy

Posted: Mon Jun 20, 2022 6:49 pm
by stam
You should be able to read barcodes with command line utilities via shell() - if that’s the question.

For example for Mac: https://www.barcoderesource.com/command ... emac.shtml

There more for win/Linux, just search online…

Re: Torino, Italy

Posted: Tue Jun 21, 2022 5:00 pm
by crokyweb
Stam I have to read a barcode written on a sheet pasted on a pallet. I don't have to generate a barcode.

Re: Torino, Italy

Posted: Tue Jun 21, 2022 11:33 pm
by stam
Well I have no need of this so have never looked into it, but a 30 second search found zbar, an opensource command line tool.

More detail can be found here
https://apple.stackexchange.com/questio ... er-for-mac

And here
https://github.com/mchehab/zbar

Leggere BarCode in Lc desktop e non Mobile

Posted: Mon Aug 01, 2022 10:44 am
by crokyweb
Salve a tutti ho trovota questo modo tramite estensione di Chrome per poter leggere i Barcode dalla webcam o da un file. Posso leggere anche più barcode sulla stessa pagina!!! Il problema è che con il Widget Browser di LC non posso visualizzarlo in LC !!! L'estensione da installare in Chrome è questa QR Code Reader e dentro Chrome funziona se provate a far leggere questa foto la legge perfettamente .
Come posso far caricare nel widgetBrowser quella estensione? Sono fatte in java
così non funziona

on mousedown
put "chrome-extension://jhigigpkpbeofhknomiadocogenlpcde/data/window/index.html?mode=tab" into tPath
set the URL of widget "Browser" to tPath
set the visible widget "Browser" to true
end mousedown