Xamarin scanner for small Barcodes / QRCodes - xamarin.forms

I am working on a Xamarin QRCode scanner prototype and the aim is to make the App being able to scan QR codes as small as 1.8/1.8 mm. I have tried the GoogleVision and also the ZXing. The GoogleVision is able to scan them but it is not convenient at all since it hardly depends on the Camera quality, position, illumination, and stability. Also tried Camera / Image Scannig to take a picture while the user is able to zoom on the QR code, still so hard to do that for a user (it cannot detect the QR code 9 out of 10).
TBH, I have searched a lot and manipulated these libraries and couldn't get it to work. On the other hand, there are Apps on the market that they can simply scan these small QR codes. (which I believe they are not based on Xamarin) I have noticed some of them are using ZXing but I couldn't find any useful information on how they are managing these small QR Codes! So my question is:
Is it possible to use Xamarin and ZXing or GoogleVision for this matter? If yes, any further information would be hugely appreciated.
Is there any library that can handle these small QR codes (Commercial or non-commercial)?
Thank you in advance.
Cheers 🤘

Related

Looking for documentation about custom readable codes

Do any of you know what to call these codes? My best guess is custom QR codes. Facebook (messenger) and Snapchat has their own QR codes and I want to look into how to create these - well my own of course!
Does anyone here have anything I could research? A mane? Some documentation or just something?
Have a wonderful day!
Those QR codes are either using the "Frame QR" format or taking advantage the error correction bits to recover the damage done by placing a logo in the middle of the barcode. QR codes have 4 levels of error correction that can be added to the code to allow a partially damaged barcode to still be readable.
For more information: https://www.qrcode.com/en/codes/

Google Charts API - QR Code

I am using Google Charts API to generate QR code as referred in this link https://www.gregorystrike.com/2011/01/26/how-to-use-google-charts-api-to-generate-your-own-qr-code/
In this as the parameters are visible it seems to be insecure
Users can change the values available in the parameters using developer tools like inspector element of Firefox. Is there a secure way to generate QR codes
Thanks
QR codes are insecure anyway, anyone can see the data you place in it, by using any reader.
If want to use QR Codes in any sort of secure sense or to store sensitive data you will have to manage encryption and decryption of that data yourself, there a few encrypted examples but its not a heavily used function. Now we are past the Fab stage of QR Codes, they mainly used like barcodes for identification, with the ability to store more information if needed and the odd URL embedded link.
Although the limit is quite large this is still a limit to the amount of data you can place in a QR Code.
Lots of information on the Wikipedia page https://en.wikipedia.org/wiki/QR_code

Is there an easy to use way to print a small file as QR-Code on a sheet of paper?

Assume I have sensitive information (passwords, private keys,...) that I saved to a file which I encrypted.
Is there an easy to use tool to convert back and forth between a small file (say 0.5kB) and an image (QR code?) that I can print out to have a safe backup?
You can use LaTeX with the ps-tricks and pst-barcode modules, it produces nice QR codes, and yesm we used it exactly for this purpose: Paper backup of SSH private keys.
Denso Wave of QR code developer distributes software on their site.
Membership registration on the site is required to obtain it.
Even if you can not print with this, there are various tools regardless of free/commercial, so please search.
The maximum amount of data that can be stored in the QR code is 2953 bytes in binary mode.
However, it depends on the ability of the scanner to use.
QR code FAQ #6 Can an image or sound be stored in a QR Code?
I wrote a linux program to do this, called qr-backup.
In researching similar programs as part of it, I discovered a number of alternative projects as well. All of these are also linux-only.
asc2qr.sh
paperbackup. Focused on GPG/SSH key backup. See also the paperkey preprocessor, to reduce the size of keys.
qrdump (incomplete)
qrpdf
If your file is very small (0.5KB is a good cutoff), you can generate one single QR code. An example command-line program to generate it is qrencode. Several web converters are also available.

Android QR code reading libs

I have an Android QR code reading app that runs on a cheap phone with no autofocus. QR code that I must read is small and on camera preview looks blurry. The one app able to read this code is NeoReader.
Does everybody know good free libraries to read QR codes?
I know that:
ZBar (it's ok but not works with blurry code)
ZXing (this Barcode reader not reads the required code; don't tried to integrate)
NeoReader SDK (not free)
My init code for ZBar:
scanner = new ImageScanner();
scanner.setConfig(0, Config.ENABLE, 0);
scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1);
scanner.setConfig(0, Config.X_DENSITY, 1);
scanner.setConfig(0, Config.Y_DENSITY, 1);
If none of the four above is an option (or even if they where!) I would strongly suggest using Googles own library found in Google Play services under the namespace com.google.android.gms.vision.barcode. It scans the codes locally, fast and robust, and you have full control of the source code in just a few classes.
For a simple example check out Android QR Code Reader Made Easy. That should get you up and running in no time! There's also further reading linked at the end of the post for advanced examples.

How to generate QR codes using library in .Net

I am planning to explore on QR code generation . I saw the google api http://chart.apis.google.com/chart?cht=qr&chs=75x75&chl=test and its pretty impressive. But it works only for URL's and small data's. So i am thinking about writing a .net app to generate the QR code. So any information on libraries to start with ,will be helpful.
Thanks,
It does not just work for URLs. You can put whatever text you want as an argument (just URL-encode it correctly). It also works for any data size that QR codes can support.

Resources