Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nuToys - ZXing barcode reader and fpdf
-
- Posts: 249
- Joined: Sun Dec 06, 2020 6:50 am
- Location: Chennai, India, Singapore
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: nuToys - ZXing barcode reader and fpdf
Thank You All! I fixed everything as you suggested above. But something went wrong... Then I moved the code from Setup Header to Custom Code of HTML-obj:
And I'm getting the video now!You do not have the required permissions to view the files attached to this post.
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 506
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 8 times
- Been thanked: 18 times
Re: nuToys - ZXing barcode reader and fpdf
I am glad that you manage to connect 

If you like nuBuilder, please leave a review on SourceForge
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: nuToys - ZXing barcode reader and fpdf
How test reader from image?
I change
to
No error and no result
my image file: Online test is OK for this file.
I change
Code: Select all
codeReader.decodeFromVideoDevice('', 'interactive-video', (result, err) => {
Code: Select all
codeReader.decodeFromImage('',"core/libs/barcodes/code-39.jpg",(result, err) => {

my image file: Online test is OK for this file.
You do not have the required permissions to view the files attached to this post.
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: nuToys - ZXing barcode reader and fpdf
Can you check if an error is output in the console using this code?
I'm not sure if you need to pass an image as first 1. parameter (see examples here: https://github.com/zxing-js/library)
Code: Select all
codeReader
.decodeFromImage('',"core/libs/barcodes/code-39.jpg")
.then(result => console.log(result.text))
.catch(err => console.error(err));
-
- nuBuilder Team
- Posts: 506
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 8 times
- Been thanked: 18 times
Re: nuToys - ZXing barcode reader and fpdf
Hi, from my side I was testing only the case from live camera - so here can not share any experience for scanning from image.
For 1D code as well interesting to consider can be Quagga.
https://serratus.github.io/quaggaJS/
For 1D code as well interesting to consider can be Quagga.
https://serratus.github.io/quaggaJS/
If you like nuBuilder, please leave a review on SourceForge
Re: nuToys - ZXing barcode reader and fpdf
Hi Janusz, I am doing barcodes with an Android phone that has a built in barcode scanner. The data is being collected in to a Kizeo forms app because it will run disconnected from the internet and resync the data when it's reconnected. While it works, right now someone needs to rekey the data into the nuBuilder database. I'm not to impressed with Kizeo because even simple data validation is not supported. The issue with barcodes is that they are not always in WiFi/Cell range when they need to be read. Any thoughts on how one might approach this scenario with nuBuilder? Another part of this app is signature collection which I see is possible in HTML5.
-
- nuBuilder Team
- Posts: 506
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 8 times
- Been thanked: 18 times
Re: nuToys - ZXing barcode reader and fpdf
I do not know the Kizeo app, but just checked the android app "Free Barcode Scanner to excel"
and it works very well offline and stores locally on the phone data into ecxel - as well to every line can be added description and price.
So after when connected, excel can by transferred probably the best by ftp from android to PC - and next exported to csv and imported into nuBuilder.
and here how the stored data looks like:
For data transfer from android very helpful is Total Commander - you can transfer files to google cloud, to the server with sftp, etc Do not have such case but probably would approach it this way.
and it works very well offline and stores locally on the phone data into ecxel - as well to every line can be added description and price.
So after when connected, excel can by transferred probably the best by ftp from android to PC - and next exported to csv and imported into nuBuilder.
and here how the stored data looks like:
For data transfer from android very helpful is Total Commander - you can transfer files to google cloud, to the server with sftp, etc Do not have such case but probably would approach it this way.
You do not have the required permissions to view the files attached to this post.
If you like nuBuilder, please leave a review on SourceForge