Jump to content

Recommended Posts

QrCode Reader for uniGUI

That's is my new series (old "All about x topic") and now inspired in Chelsea DOES Series... (lol) here we go.

This is the first experimental project for our future Pack 4 commercial/biz automation.
The final version will have several other features as well as QrCode generation capability etc.

This code is free and based on several JavaScript libs linked and adapted. This project design is hybrid.

Restrictions:
Chrome only allows WebRTC access via https or localhost.
Safari ONLY https.
FireFox is the most compatible of all.
This is an HTML5 feature that has not yet been implemented in most browsers and many users have old versions. So check the browser version of your device and test with others browsers.

Website that shows what each browser supports
https://caniuse.com/#search=getUserMedia

Mobile Compatibility with HTML5
http://mobilehtml5.org/
https://webrtc.github.io/samples/
https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API

How to use:
Copy the / files folder just below where you want to place your ISAPI or StandAlone. And let's rock !

Live Demo:
https://lojasms.com.br/qrcode/qrcode.dll


More Information, Resources, Books, and Project Packs
visit http://www.unigui.com.br (the Brazilian  portal to uniGUI). '

Enjoy... and have a good one!

Sorry: but I'm experience some health problems today... tomorrow I'll post  version with English Interface.  

 

Animation.gif

Pack04-Project01 QrCode.rar

Edited by fredmontier
missing a verb and a Live demo link
  • Like 6
  • Upvote 4
Link to post
Share on other sites

Not this example thou.  But can be done.

QrCode is the most flexible due to the distance e irregular positioning.  While 1D Barcode and other format every scan reader already decodes the barcodes and may insert as  if it was some sort of keyboard attached to the device. And while everybody has a cam/webcam only those ones working with automation has this sort of equipment.  So the demand was really for QrCodes.

I have 2 barcode reader and one of them (table/cashier position, like in the ones used in stores, a multibeams scanner) can read any format available and convert on the fly by hardware to the program. While the other one can read only 16 formats except QrCode (it's a handheld single line laser beam). Single Line Beams scanner don't work with QrCodes, at least to my knowledge in the field.

Resuming, the majority of old scanner can't read QrCodes. So, it's a solution looking for  a problem.

  • Upvote 1
Link to post
Share on other sites

This looks great - thanks for posting. On a Moto E4+ mobile (chrome 73.03683.75 Android 7.1.1) I never get a prompt to allow the camera and can't find a way to enable it, the site settings within the browser only provide the option to block camera or prompt for permission (which never happens)

Link to post
Share on other sites
  • 6 months later...

I'm developing a new BarCode scanner with support to QrCode and BarCode... Any help is welcome:

Have run into some issues with ajaxRequest not firing.

About equipment, there are a lot of scanner that can read both codes formats (QrCode 2D and BarCode 1D) for less that $ 20,00. So, is more like a exercise or only if you want to run your inventory with just a smartphone and refuses to acquire a real scanner. 

BarCodeScanner.rar

Link to post
Share on other sites
  • 3 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...